public class ModifyClusterIamRolesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ModifyClusterIamRoles operation.
Modifies the list of AWS Identity and Access Management (IAM) roles that can be used by the cluster to access other AWS services.
A cluster can have up to 10 IAM roles associated at any time.
NOOP| Constructor and Description |
|---|
ModifyClusterIamRolesRequest() |
| Modifier and Type | Method and Description |
|---|---|
ModifyClusterIamRolesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getAddIamRoles()
Zero or more IAM roles (in their ARN format) to associate with the
cluster.
|
String |
getClusterIdentifier()
The unique identifier of the cluster for which you want to associate
or disassociate IAM roles.
|
List<String> |
getRemoveIamRoles()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ModifyClusterIamRolesRequest |
withAddIamRoles(Collection<String> addIamRoles)
Zero or more IAM roles (in their ARN format) to associate with the
cluster.
|
ModifyClusterIamRolesRequest |
withAddIamRoles(String... addIamRoles)
Zero or more IAM roles (in their ARN format) to associate with the
cluster.
|
ModifyClusterIamRolesRequest |
withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which you want to associate
or disassociate IAM roles.
|
ModifyClusterIamRolesRequest |
withRemoveIamRoles(Collection<String> removeIamRoles)
Zero or more IAM roles (in their ARN format) to disassociate from the
cluster.
|
ModifyClusterIamRolesRequest |
withRemoveIamRoles(String... removeIamRoles)
Zero or more IAM roles (in their ARN format) to disassociate from the
cluster.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic String getClusterIdentifier()
public void setClusterIdentifier(String clusterIdentifier)
clusterIdentifier - The unique identifier of the cluster for which you want to associate
or disassociate IAM roles.public ModifyClusterIamRolesRequest withClusterIdentifier(String clusterIdentifier)
Returns a reference to this object so that method calls can be chained together.
clusterIdentifier - The unique identifier of the cluster for which you want to associate
or disassociate IAM roles.public List<String> getAddIamRoles()
public void setAddIamRoles(Collection<String> addIamRoles)
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.public ModifyClusterIamRolesRequest withAddIamRoles(String... addIamRoles)
NOTE: This method appends the values to the existing list (if
any). Use setAddIamRoles(java.util.Collection) or withAddIamRoles(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
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.public ModifyClusterIamRolesRequest withAddIamRoles(Collection<String> addIamRoles)
Returns a reference to this object so that method calls can be chained together.
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.public List<String> getRemoveIamRoles()
public void setRemoveIamRoles(Collection<String> removeIamRoles)
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.public ModifyClusterIamRolesRequest withRemoveIamRoles(String... removeIamRoles)
NOTE: This method appends the values to the existing list (if
any). Use setRemoveIamRoles(java.util.Collection) or withRemoveIamRoles(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
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.public ModifyClusterIamRolesRequest withRemoveIamRoles(Collection<String> removeIamRoles)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString in class ObjectObject.toString()public ModifyClusterIamRolesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.