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:
  • Constructor Details

    • ModifyClusterIamRolesRequest

      public ModifyClusterIamRolesRequest()
  • Method Details

    • 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) or withAddIamRoles(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) or withRemoveIamRoles(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: