Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.model
Class SetVisibleToAllUsersRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticmapreduce.model.SetVisibleToAllUsersRequest
All Implemented Interfaces:
Serializable

public class SetVisibleToAllUsersRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the SetVisibleToAllUsers operation.

Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specifed job flows. This action works on running job flows. You can also set the visibility of a job flow when you launch it using the VisibleToAllUsers parameter of RunJobFlow. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow.

See Also:
AmazonElasticMapReduce.setVisibleToAllUsers(SetVisibleToAllUsersRequest), Serialized Form

Constructor Summary
SetVisibleToAllUsersRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getJobFlowIds()
          Identifiers of the job flows to receive the new visibility setting.
 Boolean getVisibleToAllUsers()
          Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow.
 int hashCode()
           
 Boolean isVisibleToAllUsers()
          Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow.
 void setJobFlowIds(Collection<String> jobFlowIds)
          Identifiers of the job flows to receive the new visibility setting.
 void setVisibleToAllUsers(Boolean visibleToAllUsers)
          Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SetVisibleToAllUsersRequest withJobFlowIds(Collection<String> jobFlowIds)
          Identifiers of the job flows to receive the new visibility setting.
 SetVisibleToAllUsersRequest withJobFlowIds(String... jobFlowIds)
          Identifiers of the job flows to receive the new visibility setting.
 SetVisibleToAllUsersRequest withVisibleToAllUsers(Boolean visibleToAllUsers)
          Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetVisibleToAllUsersRequest

public SetVisibleToAllUsersRequest()
Method Detail

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
jobFlowIds - Identifiers of the job flows to receive the new visibility setting.
Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
jobFlowIds - Identifiers of the job flows to receive the new visibility setting.
Returns:
A reference to this updated 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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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.

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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.