@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.
|
String |
getDefaultIamRoleArn()
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last
modified.
|
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 |
setDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last
modified.
|
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.
|
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 |
withDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last
modified.
|
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.
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.
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name
(ARN) format.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.
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.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.
addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name
(ARN) format.public List<String> getRemoveIamRoles()
Zero or more IAM roles in ARN format to disassociate from the cluster.
public void setRemoveIamRoles(Collection<String> removeIamRoles)
Zero or more IAM roles in ARN format to disassociate from the cluster.
removeIamRoles
- Zero or more IAM roles in ARN format to disassociate from the cluster.public ModifyClusterIamRolesRequest withRemoveIamRoles(String... removeIamRoles)
Zero or more IAM roles in ARN format to disassociate from the cluster.
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.public ModifyClusterIamRolesRequest withRemoveIamRoles(Collection<String> removeIamRoles)
Zero or more IAM roles in ARN format to disassociate from the cluster.
removeIamRoles
- Zero or more IAM roles in ARN format to disassociate from the cluster.public void setDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
defaultIamRoleArn
- The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster
was last modified.public String getDefaultIamRoleArn()
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
public ModifyClusterIamRolesRequest withDefaultIamRoleArn(String defaultIamRoleArn)
The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster was last modified.
defaultIamRoleArn
- The Amazon Resource Name (ARN) for the IAM role that was set as default for the cluster when the cluster
was last modified.public String toString()
toString
in class Object
Object.toString()
public ModifyClusterIamRolesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()