Class ClusterIamRole

    • Method Detail

      • iamRoleArn

        public final String iamRoleArn()

        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.
      • applyStatus

        public final String applyStatus()

        A value that 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:
        A value that 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.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)