@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
A value that 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, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload . |
int |
hashCode() |
void |
setApplyStatus(String applyStatus)
A value that 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, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ClusterIamRole |
withApplyStatus(String applyStatus)
A value that 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, for example,
arn:aws:iam::123456789012:role/RedshiftCopyUnload . |
public void setIamRoleArn(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 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(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(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.
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.
public String getApplyStatus()
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.
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)
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.
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.
public String toString()
toString
in class Object
Object.toString()
public ClusterIamRole clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.