@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbClusterAssociatedRole extends Object implements Serializable, Cloneable, StructuredPojo
An IAM role that is associated with the Amazon RDS DB cluster.
Constructor and Description |
---|
AwsRdsDbClusterAssociatedRole() |
Modifier and Type | Method and Description |
---|---|
AwsRdsDbClusterAssociatedRole |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The ARN of the IAM role.
|
String |
getStatus()
The status of the association between the IAM role and the DB cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The ARN of the IAM role.
|
void |
setStatus(String status)
The status of the association between the IAM role and the DB cluster.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsDbClusterAssociatedRole |
withRoleArn(String roleArn)
The ARN of the IAM role.
|
AwsRdsDbClusterAssociatedRole |
withStatus(String status)
The status of the association between the IAM role and the DB cluster.
|
public void setRoleArn(String roleArn)
The ARN of the IAM role.
roleArn
- The ARN of the IAM role.public String getRoleArn()
The ARN of the IAM role.
public AwsRdsDbClusterAssociatedRole withRoleArn(String roleArn)
The ARN of the IAM role.
roleArn
- The ARN of the IAM role.public void setStatus(String status)
The status of the association between the IAM role and the DB cluster.
status
- The status of the association between the IAM role and the DB cluster.public String getStatus()
The status of the association between the IAM role and the DB cluster.
public AwsRdsDbClusterAssociatedRole withStatus(String status)
The status of the association between the IAM role and the DB cluster.
status
- The status of the association between the IAM role and the DB cluster.public String toString()
toString
in class Object
Object.toString()
public AwsRdsDbClusterAssociatedRole clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.