@Generated(value="software.amazon.awssdk:codegen") public class DBClusterRole extends Object implements ToCopyableBuilder<DBClusterRole.Builder,DBClusterRole>
Describes an AWS Identity and Access Management (IAM) role that is associated with a DB cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
DBClusterRole.Builder |
Modifier and Type | Method and Description |
---|---|
static DBClusterRole.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
|
static Class<? extends DBClusterRole.Builder> |
serializableBuilderClass() |
String |
status()
Describes the state of association between the IAM role and the DB cluster.
|
DBClusterRole.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String roleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
public 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 is unable to assume
the IAM role in order to access other AWS services on your behalf.
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 is unable
to assume the IAM role in order to access other AWS services on your behalf.
public DBClusterRole.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DBClusterRole.Builder,DBClusterRole>
public static DBClusterRole.Builder builder()
public static Class<? extends DBClusterRole.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.