Class ClusterIamRole
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Describes the status of the IAM role's association with an Amazon Redshift cluster.The Amazon Resource Name (ARN) of the IAM role.int
hashCode()
void
setApplyStatus
(String applyStatus) Describes the status of the IAM role's association with an Amazon Redshift cluster.void
setIamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role.toString()
Returns a string representation of this object; useful for testing and debugging.withApplyStatus
(String applyStatus) Describes the status of the IAM role's association with an Amazon Redshift cluster.withIamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role.
-
Constructor Details
-
ClusterIamRole
public ClusterIamRole()
-
-
Method Details
-
setIamRoleArn
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-