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