Class ClusterIamRole
- java.lang.Object
-
- com.amazonaws.services.redshift.model.ClusterIamRole
-
- All Implemented Interfaces:
Serializable,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterIamRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterIamRoleclone()booleanequals(Object obj)StringgetApplyStatus()Describes the status of the IAM role's association with an Amazon Redshift cluster.StringgetIamRoleArn()The Amazon Resource Name (ARN) of the IAM role.inthashCode()voidsetApplyStatus(String applyStatus)Describes the status of the IAM role's association with an Amazon Redshift cluster.voidsetIamRoleArn(String iamRoleArn)The Amazon Resource Name (ARN) of the IAM role.StringtoString()Returns a string representation of this object; useful for testing and debugging.ClusterIamRolewithApplyStatus(String applyStatus)Describes the status of the IAM role's association with an Amazon Redshift cluster.ClusterIamRolewithIamRoleArn(String iamRoleArn)The Amazon Resource Name (ARN) of the IAM role.
-
-
-
Method Detail
-
setIamRoleArn
public void setIamRoleArn(String iamRoleArn)
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
public String 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
public ClusterIamRole withIamRoleArn(String iamRoleArn)
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
public void setApplyStatus(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.
- 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
public 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.
- 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
public ClusterIamRole withApplyStatus(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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ClusterIamRole clone()
-
-