@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBClusterRole extends Object implements Serializable, Cloneable
Describes an Amazon 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 |
getFeatureName()
The name of the feature associated with the Amazon Identity and Access Management (IAM) role.
|
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 |
setFeatureName(String featureName)
The name of the feature associated with the Amazon Identity and Access Management (IAM) role.
|
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 |
withFeatureName(String featureName)
The name of the feature associated with the Amazon Identity and Access Management (IAM) role.
|
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 Amazon
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 is unable to assume
the IAM role in order to access other Amazon 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
Amazon 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 is unable to
assume the IAM role in order to access other Amazon 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 Amazon
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 is unable to assume
the IAM role in order to access other Amazon services on your behalf.
ACTIVE
- the IAM role ARN is associated with the DB cluster and can be used to access other
Amazon 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 is unable
to assume the IAM role in order to access other Amazon 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 Amazon
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 is unable to assume
the IAM role in order to access other Amazon 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
Amazon 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 is unable to
assume the IAM role in order to access other Amazon services on your behalf.
public void setFeatureName(String featureName)
The name of the feature associated with the Amazon Identity and Access Management (IAM) role. For the list of supported feature names, see DescribeDBEngineVersions.
featureName
- The name of the feature associated with the Amazon Identity and Access Management (IAM) role. For the list
of supported feature names, see DescribeDBEngineVersions.public String getFeatureName()
The name of the feature associated with the Amazon Identity and Access Management (IAM) role. For the list of supported feature names, see DescribeDBEngineVersions.
public DBClusterRole withFeatureName(String featureName)
The name of the feature associated with the Amazon Identity and Access Management (IAM) role. For the list of supported feature names, see DescribeDBEngineVersions.
featureName
- The name of the feature associated with the Amazon Identity and Access Management (IAM) role. For the list
of supported feature names, see DescribeDBEngineVersions.public String toString()
toString
in class Object
Object.toString()
public DBClusterRole clone()
Copyright © 2022. All rights reserved.