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.
Constructor and Description |
---|
ClusterIamRole() |
Modifier and Type | Method and Description |
---|---|
ClusterIamRole |
clone() |
boolean |
equals(Object obj) |
String |
getApplyStatus()
Describes the status of the IAM role's association with an Amazon
Redshift cluster.
|
String |
getIamRoleArn()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClusterIamRole |
withApplyStatus(String applyStatus)
Describes the status of the IAM role's association with an Amazon
Redshift cluster.
|
ClusterIamRole |
withIamRoleArn(String iamRoleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
public String getIamRoleArn()
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.arn:aws:iam::123456789012:role/RedshiftCopyUnload
.public void setIamRoleArn(String iamRoleArn)
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 ClusterIamRole withIamRoleArn(String iamRoleArn)
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.
Returns a reference to this object so that method calls can be chained together.
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role. For example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload
.public String getApplyStatus()
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 void setApplyStatus(String applyStatus)
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 ClusterIamRole withApplyStatus(String applyStatus)
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 reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public ClusterIamRole clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.