Class SetVisibleToAllUsersRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.SetVisibleToAllUsersRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class SetVisibleToAllUsersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

The input to the SetVisibleToAllUsers action.

See Also:
  • Constructor Details

    • SetVisibleToAllUsersRequest

      public SetVisibleToAllUsersRequest()
  • Method Details

    • getJobFlowIds

      public List<String> getJobFlowIds()

      Identifiers of the job flows to receive the new visibility setting.

      Returns:
      Identifiers of the job flows to receive the new visibility setting.
    • setJobFlowIds

      public void setJobFlowIds(Collection<String> jobFlowIds)

      Identifiers of the job flows to receive the new visibility setting.

      Parameters:
      jobFlowIds - Identifiers of the job flows to receive the new visibility setting.
    • withJobFlowIds

      public SetVisibleToAllUsersRequest withJobFlowIds(String... jobFlowIds)

      Identifiers of the job flows to receive the new visibility setting.

      NOTE: This method appends the values to the existing list (if any). Use setJobFlowIds(java.util.Collection) or withJobFlowIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      jobFlowIds - Identifiers of the job flows to receive the new visibility setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withJobFlowIds

      public SetVisibleToAllUsersRequest withJobFlowIds(Collection<String> jobFlowIds)

      Identifiers of the job flows to receive the new visibility setting.

      Parameters:
      jobFlowIds - Identifiers of the job flows to receive the new visibility setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVisibleToAllUsers

      public void setVisibleToAllUsers(Boolean visibleToAllUsers)

      Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.

      Parameters:
      visibleToAllUsers - Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.
    • getVisibleToAllUsers

      public Boolean getVisibleToAllUsers()

      Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.

      Returns:
      Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.
    • withVisibleToAllUsers

      public SetVisibleToAllUsersRequest withVisibleToAllUsers(Boolean visibleToAllUsers)

      Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.

      Parameters:
      visibleToAllUsers - Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isVisibleToAllUsers

      public Boolean isVisibleToAllUsers()

      Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.

      Returns:
      Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: