Class ModifyClusterIamRolesRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.redshift.model.ModifyClusterIamRolesRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ModifyClusterIamRolesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ModifyClusterIamRolesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(String... addIamRoles)
Zero or more IAM roles (in their ARN format) to associate with the cluster.ModifyClusterIamRolesRequest
withAddIamRoles(Collection<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(String... removeIamRoles)
Zero or more IAM roles (in their ARN format) to disassociate from the cluster.ModifyClusterIamRolesRequest
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
-
-
-
-
Method Detail
-
setClusterIdentifier
public void setClusterIdentifier(String clusterIdentifier)
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
public String 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
public ModifyClusterIamRolesRequest withClusterIdentifier(String clusterIdentifier)
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
public List<String> 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
public void setAddIamRoles(Collection<String> 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.
- 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
public ModifyClusterIamRolesRequest withAddIamRoles(String... 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.
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
public ModifyClusterIamRolesRequest withAddIamRoles(Collection<String> 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.
- 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
public List<String> 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
public void setRemoveIamRoles(Collection<String> 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.
- 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
public ModifyClusterIamRolesRequest withRemoveIamRoles(String... 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.
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
public ModifyClusterIamRolesRequest withRemoveIamRoles(Collection<String> 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.
- 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
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 ModifyClusterIamRolesRequest 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()
-
-