public class ClusterIamRole
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
An AWS Identity and Access Management (IAM) role that can be used by the associated Amazon Redshift cluster to access other AWS services.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
applyStatus
Describes the status of the IAM role's association with an Amazon
Redshift cluster.
|
private java.lang.String |
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role.
|
Constructor and Description |
---|
ClusterIamRole() |
Modifier and Type | Method and Description |
---|---|
ClusterIamRole |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplyStatus()
Describes the status of the IAM role's association with an Amazon
Redshift cluster.
|
java.lang.String |
getIamRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
int |
hashCode() |
void |
setApplyStatus(java.lang.String applyStatus)
Describes the status of the IAM role's association with an Amazon
Redshift cluster.
|
void |
setIamRoleArn(java.lang.String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClusterIamRole |
withApplyStatus(java.lang.String applyStatus)
Describes the status of the IAM role's association with an Amazon
Redshift cluster.
|
ClusterIamRole |
withIamRoleArn(java.lang.String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
private java.lang.String iamRoleArn
The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
private java.lang.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.public void setIamRoleArn(java.lang.String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.public java.lang.String getIamRoleArn()
The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.public ClusterIamRole withIamRoleArn(java.lang.String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.public void setApplyStatus(java.lang.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.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.public java.lang.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.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.public ClusterIamRole withApplyStatus(java.lang.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.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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ClusterIamRole clone()
clone
in class java.lang.Object