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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SetVisibleToAllUsersRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetVisibleToAllUsersRequest
clone()
Creates a shallow clone of this request.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(String... jobFlowIds)
Identifiers of the job flows to receive the new visibility setting.SetVisibleToAllUsersRequest
withJobFlowIds(Collection<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
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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.
NOTE: This method appends the values to the existing list (if any). Use
setJobFlowIds(java.util.Collection)
orwithJobFlowIds(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetVisibleToAllUsersRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-