|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.SetVisibleToAllUsersRequest
public class SetVisibleToAllUsersRequest
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.
AmazonElasticMapReduce.setVisibleToAllUsers(SetVisibleToAllUsersRequest)
,
Serialized FormConstructor 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 |
---|
public SetVisibleToAllUsersRequest()
Method Detail |
---|
public List<String> getJobFlowIds()
public void setJobFlowIds(Collection<String> jobFlowIds)
jobFlowIds
- Identifiers of the job flows to receive the new visibility setting.public SetVisibleToAllUsersRequest withJobFlowIds(String... jobFlowIds)
Returns a reference to this object so that method calls can be chained together.
jobFlowIds
- Identifiers of the job flows to receive the new visibility setting.
public SetVisibleToAllUsersRequest withJobFlowIds(Collection<String> jobFlowIds)
Returns a reference to this object so that method calls can be chained together.
jobFlowIds
- Identifiers of the job flows to receive the new visibility setting.
public Boolean isVisibleToAllUsers()
public void setVisibleToAllUsers(Boolean visibleToAllUsers)
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.public SetVisibleToAllUsersRequest withVisibleToAllUsers(Boolean visibleToAllUsers)
Returns a reference to this object so that method calls can be chained together.
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.
public Boolean getVisibleToAllUsers()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |