@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBClusterRole extends Object implements Serializable, Cloneable
Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.
Constructor and Description |
---|
DBClusterRole() |
Modifier and Type | Method and Description |
---|---|
DBClusterRole |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
|
String |
getStatus()
Describes the state of association between the IAM role and the DB cluster.
|
int |
hashCode() |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
|
void |
setStatus(String status)
Describes the state of association between the IAM role and the DB cluster.
|
String |
toString()
Returns a string representation of this object.
|
DBClusterRole |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
|
DBClusterRole |
withStatus(String status)
Describes the state of association between the IAM role and the DB cluster.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
public DBClusterRole withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.public void setStatus(String status)
Describes the state of association between the IAM role and the DB cluster. The Status
property
returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB cluster and can be used to access other AWS
services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB cluster.
INVALID
- The IAM role ARN is associated with the DB cluster, but the DB cluster cannot assume the
IAM role to access other AWS services on your behalf.
status
- Describes the state of association between the IAM role and the DB cluster. The Status
property returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB cluster and can be used to access other
AWS services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB cluster.
INVALID
- The IAM role ARN is associated with the DB cluster, but the DB cluster cannot
assume the IAM role to access other AWS services on your behalf.
public String getStatus()
Describes the state of association between the IAM role and the DB cluster. The Status
property
returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB cluster and can be used to access other AWS
services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB cluster.
INVALID
- The IAM role ARN is associated with the DB cluster, but the DB cluster cannot assume the
IAM role to access other AWS services on your behalf.
Status
property returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB cluster and can be used to access other
AWS services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB cluster.
INVALID
- The IAM role ARN is associated with the DB cluster, but the DB cluster cannot
assume the IAM role to access other AWS services on your behalf.
public DBClusterRole withStatus(String status)
Describes the state of association between the IAM role and the DB cluster. The Status
property
returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB cluster and can be used to access other AWS
services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB cluster.
INVALID
- The IAM role ARN is associated with the DB cluster, but the DB cluster cannot assume the
IAM role to access other AWS services on your behalf.
status
- Describes the state of association between the IAM role and the DB cluster. The Status
property returns one of the following values:
ACTIVE
- The IAM role ARN is associated with the DB cluster and can be used to access other
AWS services on your behalf.
PENDING
- The IAM role ARN is being associated with the DB cluster.
INVALID
- The IAM role ARN is associated with the DB cluster, but the DB cluster cannot
assume the IAM role to access other AWS services on your behalf.
public String toString()
toString
in class Object
Object.toString()
public DBClusterRole clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.