@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyClusterIamRolesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ModifyClusterIamRolesRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyClusterIamRolesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAddIamRoles()
Zero or more IAM roles 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 ARN format to disassociate from the cluster.
|
int |
hashCode() |
void |
setAddIamRoles(Collection<String> addIamRoles)
Zero or more IAM roles 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 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 to associate with the cluster.
|
ModifyClusterIamRolesRequest |
withAddIamRoles(String... addIamRoles)
Zero or more IAM roles 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 ARN format to disassociate from the cluster.
|
ModifyClusterIamRolesRequest |
withRemoveIamRoles(String... removeIamRoles)
Zero or more IAM roles in ARN format to disassociate from the cluster.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
clusterIdentifier
- The unique identifier of the cluster for which you want to associate or disassociate IAM roles.public String getClusterIdentifier()
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
public ModifyClusterIamRolesRequest withClusterIdentifier(String clusterIdentifier)
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
clusterIdentifier
- The unique identifier of the cluster for which you want to associate or disassociate IAM roles.public List<String> getAddIamRoles()
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.
public void setAddIamRoles(Collection<String> addIamRoles)
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name
(ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.public ModifyClusterIamRolesRequest withAddIamRoles(String... addIamRoles)
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. 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)
or withAddIamRoles(java.util.Collection)
if you want to
override the existing values.
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name
(ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.public ModifyClusterIamRolesRequest withAddIamRoles(Collection<String> addIamRoles)
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name
(ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.public List<String> getRemoveIamRoles()
Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
public void setRemoveIamRoles(Collection<String> removeIamRoles)
Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
removeIamRoles
- Zero or more IAM roles in 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)
Zero or more IAM roles in 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)
or withRemoveIamRoles(java.util.Collection)
if you want
to override the existing values.
removeIamRoles
- Zero or more IAM roles in 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)
Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
removeIamRoles
- Zero or more IAM roles in 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 Object
Object.toString()
public ModifyClusterIamRolesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.