Class ModifyClusterIamRolesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Zero or more IAM roles (in their ARN format) to associate with the cluster.The unique identifier of the cluster for which you want to associate or disassociate IAM roles.Zero or more IAM roles (in their ARN format) to disassociate from the cluster.int
hashCode()
void
setAddIamRoles
(Collection<String> addIamRoles) Zero or more IAM roles (in their ARN format) to associate with the cluster.void
setClusterIdentifier
(String clusterIdentifier) The unique identifier of the cluster for which you want to associate or disassociate IAM roles.void
setRemoveIamRoles
(Collection<String> removeIamRoles) Zero or more IAM roles (in their ARN format) to disassociate from the cluster.toString()
Returns a string representation of this object; useful for testing and debugging.withAddIamRoles
(String... addIamRoles) Zero or more IAM roles (in their ARN format) to associate with the cluster.withAddIamRoles
(Collection<String> addIamRoles) Zero or more IAM roles (in their ARN format) to associate with the cluster.withClusterIdentifier
(String clusterIdentifier) The unique identifier of the cluster for which you want to associate or disassociate IAM roles.withRemoveIamRoles
(String... removeIamRoles) Zero or more IAM roles (in their ARN format) to disassociate from the cluster.withRemoveIamRoles
(Collection<String> removeIamRoles) Zero or more IAM roles (in their ARN format) to disassociate from the cluster.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
-
Constructor Details
-
ModifyClusterIamRolesRequest
public ModifyClusterIamRolesRequest()
-
-
Method Details
-
setClusterIdentifier
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
- Parameters:
clusterIdentifier
- The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
-
getClusterIdentifier
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
- Returns:
- The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
-
withClusterIdentifier
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
- Parameters:
clusterIdentifier
- The unique identifier of the cluster for which you want to associate or disassociate IAM roles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAddIamRoles
Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.
- Returns:
- Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.
-
setAddIamRoles
Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.
- Parameters:
addIamRoles
- Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.
-
withAddIamRoles
Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.
NOTE: This method appends the values to the existing list (if any). Use
setAddIamRoles(java.util.Collection)
orwithAddIamRoles(java.util.Collection)
if you want to override the existing values.- Parameters:
addIamRoles
- Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAddIamRoles
Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.
- Parameters:
addIamRoles
- Zero or more IAM roles (in their ARN format) to associate with the cluster. You can associate up to 10 IAM roles with a single cluster in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getRemoveIamRoles
Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
- Returns:
- Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
-
setRemoveIamRoles
Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
- Parameters:
removeIamRoles
- Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
-
withRemoveIamRoles
Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveIamRoles(java.util.Collection)
orwithRemoveIamRoles(java.util.Collection)
if you want to override the existing values.- Parameters:
removeIamRoles
- Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRemoveIamRoles
Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
- Parameters:
removeIamRoles
- Zero or more IAM roles (in their ARN format) to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-