@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRedshiftClusterIamRole extends Object implements Serializable, Cloneable, StructuredPojo
An IAM role that the cluster can use to access other Amazon Web Services services.
| Constructor and Description |
|---|
AwsRedshiftClusterIamRole() |
| Modifier and Type | Method and Description |
|---|---|
AwsRedshiftClusterIamRole |
clone() |
boolean |
equals(Object obj) |
String |
getApplyStatus()
The status of the IAM role's association with the cluster.
|
String |
getIamRoleArn()
The ARN of the IAM role.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setApplyStatus(String applyStatus)
The status of the IAM role's association with the cluster.
|
void |
setIamRoleArn(String iamRoleArn)
The ARN of the IAM role.
|
String |
toString()
Returns a string representation of this object.
|
AwsRedshiftClusterIamRole |
withApplyStatus(String applyStatus)
The status of the IAM role's association with the cluster.
|
AwsRedshiftClusterIamRole |
withIamRoleArn(String iamRoleArn)
The ARN of the IAM role.
|
public void setApplyStatus(String applyStatus)
The status of the IAM role's association with the cluster.
Valid values: in-sync | adding | removing
applyStatus - The status of the IAM role's association with the cluster.
Valid values: in-sync | adding | removing
public String getApplyStatus()
The status of the IAM role's association with the cluster.
Valid values: in-sync | adding | removing
Valid values: in-sync | adding | removing
public AwsRedshiftClusterIamRole withApplyStatus(String applyStatus)
The status of the IAM role's association with the cluster.
Valid values: in-sync | adding | removing
applyStatus - The status of the IAM role's association with the cluster.
Valid values: in-sync | adding | removing
public void setIamRoleArn(String iamRoleArn)
The ARN of the IAM role.
iamRoleArn - The ARN of the IAM role.public String getIamRoleArn()
The ARN of the IAM role.
public AwsRedshiftClusterIamRole withIamRoleArn(String iamRoleArn)
The ARN of the IAM role.
iamRoleArn - The ARN of the IAM role.public String toString()
toString in class ObjectObject.toString()public AwsRedshiftClusterIamRole clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.