Class ClusterIamRole

java.lang.Object
com.amazonaws.services.redshift.model.ClusterIamRole
All Implemented Interfaces:
Serializable, Cloneable

public class ClusterIamRole extends Object implements Serializable, Cloneable

An AWS Identity and Access Management (IAM) role that can be used by the associated Amazon Redshift cluster to access other AWS services.

See Also:
  • Constructor Details

    • ClusterIamRole

      public ClusterIamRole()
  • Method Details

    • setIamRoleArn

      public void setIamRoleArn(String iamRoleArn)

      The Amazon Resource Name (ARN) of the IAM role. For example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.

      Parameters:
      iamRoleArn - The Amazon Resource Name (ARN) of the IAM role. For example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.
    • getIamRoleArn

      public String getIamRoleArn()

      The Amazon Resource Name (ARN) of the IAM role. For example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.

      Returns:
      The Amazon Resource Name (ARN) of the IAM role. For example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.
    • withIamRoleArn

      public ClusterIamRole withIamRoleArn(String iamRoleArn)

      The Amazon Resource Name (ARN) of the IAM role. For example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.

      Parameters:
      iamRoleArn - The Amazon Resource Name (ARN) of the IAM role. For example, arn:aws:iam::123456789012:role/RedshiftCopyUnload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setApplyStatus

      public void setApplyStatus(String applyStatus)

      Describes the status of the IAM role's association with an Amazon Redshift cluster.

      The following are possible statuses and descriptions.

      • in-sync: The role is available for use by the cluster.
      • adding: The role is in the process of being associated with the cluster.
      • removing: The role is in the process of being disassociated with the cluster.

      Parameters:
      applyStatus - Describes the status of the IAM role's association with an Amazon Redshift cluster.

      The following are possible statuses and descriptions.

      • in-sync: The role is available for use by the cluster.
      • adding: The role is in the process of being associated with the cluster.
      • removing: The role is in the process of being disassociated with the cluster.
    • getApplyStatus

      public String getApplyStatus()

      Describes the status of the IAM role's association with an Amazon Redshift cluster.

      The following are possible statuses and descriptions.

      • in-sync: The role is available for use by the cluster.
      • adding: The role is in the process of being associated with the cluster.
      • removing: The role is in the process of being disassociated with the cluster.

      Returns:
      Describes the status of the IAM role's association with an Amazon Redshift cluster.

      The following are possible statuses and descriptions.

      • in-sync: The role is available for use by the cluster.
      • adding: The role is in the process of being associated with the cluster.
      • removing: The role is in the process of being disassociated with the cluster.
    • withApplyStatus

      public ClusterIamRole withApplyStatus(String applyStatus)

      Describes the status of the IAM role's association with an Amazon Redshift cluster.

      The following are possible statuses and descriptions.

      • in-sync: The role is available for use by the cluster.
      • adding: The role is in the process of being associated with the cluster.
      • removing: The role is in the process of being disassociated with the cluster.

      Parameters:
      applyStatus - Describes the status of the IAM role's association with an Amazon Redshift cluster.

      The following are possible statuses and descriptions.

      • in-sync: The role is available for use by the cluster.
      • adding: The role is in the process of being associated with the cluster.
      • removing: The role is in the process of being disassociated with the cluster.
      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

      public ClusterIamRole clone()
      Overrides:
      clone in class Object