@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbInstanceAssociatedRole extends Object implements Serializable, Cloneable, StructuredPojo
An IAM role associated with the DB instance.
Constructor and Description |
---|
AwsRdsDbInstanceAssociatedRole() |
Modifier and Type | Method and Description |
---|---|
AwsRdsDbInstanceAssociatedRole |
clone() |
boolean |
equals(Object obj) |
String |
getFeatureName()
The name of the feature associated with the IAM role.
|
String |
getRoleArn()
The ARN of the IAM role that is associated with the DB instance.
|
String |
getStatus()
Describes the state of the association between the IAM role and the DB instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFeatureName(String featureName)
The name of the feature associated with the IAM role.
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that is associated with the DB instance.
|
void |
setStatus(String status)
Describes the state of the association between the IAM role and the DB instance.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsDbInstanceAssociatedRole |
withFeatureName(String featureName)
The name of the feature associated with the IAM role.
|
AwsRdsDbInstanceAssociatedRole |
withRoleArn(String roleArn)
The ARN of the IAM role that is associated with the DB instance.
|
AwsRdsDbInstanceAssociatedRole |
withStatus(String status)
Describes the state of the association between the IAM role and the DB instance.
|
public void setRoleArn(String roleArn)
The ARN of the IAM role that is associated with the DB instance.
roleArn
- The ARN of the IAM role that is associated with the DB instance.public String getRoleArn()
The ARN of the IAM role that is associated with the DB instance.
public AwsRdsDbInstanceAssociatedRole withRoleArn(String roleArn)
The ARN of the IAM role that is associated with the DB instance.
roleArn
- The ARN of the IAM role that is associated with the DB instance.public void setFeatureName(String featureName)
The name of the feature associated with the IAM role.
featureName
- The name of the feature associated with the IAM role.public String getFeatureName()
The name of the feature associated with the IAM role.
public AwsRdsDbInstanceAssociatedRole withFeatureName(String featureName)
The name of the feature associated with the IAM role.
featureName
- The name of the feature associated with the IAM role.public void setStatus(String status)
Describes the state of the association between the IAM role and the DB instance. The Status
property
returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB instance and can be used to access other Amazon
Web Services services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB instance.
INVALID
- The IAM role ARN is associated with the DB instance. But the DB instance is unable to
assume the IAM role in order to access other Amazon Web Services services on your behalf.
status
- Describes the state of the association between the IAM role and the DB instance. The Status
property returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB instance and can be used to access other
Amazon Web Services services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB instance.
INVALID
- The IAM role ARN is associated with the DB instance. But the DB instance is unable
to assume the IAM role in order to access other Amazon Web Services services on your behalf.
public String getStatus()
Describes the state of the association between the IAM role and the DB instance. The Status
property
returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB instance and can be used to access other Amazon
Web Services services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB instance.
INVALID
- The IAM role ARN is associated with the DB instance. But the DB instance is unable to
assume the IAM role in order to access other Amazon Web Services services on your behalf.
Status
property returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB instance and can be used to access other
Amazon Web Services services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB instance.
INVALID
- The IAM role ARN is associated with the DB instance. But the DB instance is unable
to assume the IAM role in order to access other Amazon Web Services services on your behalf.
public AwsRdsDbInstanceAssociatedRole withStatus(String status)
Describes the state of the association between the IAM role and the DB instance. The Status
property
returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB instance and can be used to access other Amazon
Web Services services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB instance.
INVALID
- The IAM role ARN is associated with the DB instance. But the DB instance is unable to
assume the IAM role in order to access other Amazon Web Services services on your behalf.
status
- Describes the state of the association between the IAM role and the DB instance. The Status
property returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB instance and can be used to access other
Amazon Web Services services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB instance.
INVALID
- The IAM role ARN is associated with the DB instance. But the DB instance is unable
to assume the IAM role in order to access other Amazon Web Services services on your behalf.
public String toString()
toString
in class Object
Object.toString()
public AwsRdsDbInstanceAssociatedRole clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.