public class SetVisibleToAllUsersRequest extends AmazonWebServiceRequest implements Serializable
SetVisibleToAllUsers operation
.
Sets whether all AWS Identity and Access Management (IAM) users under
your account can access the specified 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.
NOOP
Constructor and Description |
---|
SetVisibleToAllUsersRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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()
Copyright © 2014. All rights reserved.