Class ClusterIamRole

    • Constructor Detail

      • ClusterIamRole

        public ClusterIamRole()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object