@Generated(value="software.amazon.awssdk:codegen") public final class DBInstanceRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>
Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance.
Modifier and Type | Class and Description |
---|---|
static interface |
DBInstanceRole.Builder |
Modifier and Type | Method and Description |
---|---|
static DBInstanceRole.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
featureName()
The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role.
|
<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 instance.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DBInstanceRole.Builder> |
serializableBuilderClass() |
String |
status()
Describes the state of association between the IAM role and the DB instance.
|
DBInstanceRole.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
public final String featureName()
The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For
the list of supported feature names, see DBEngineVersion
.
DBEngineVersion
.public final String status()
Describes the state of 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.
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 DBInstanceRole.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>
public static DBInstanceRole.Builder builder()
public static Class<? extends DBInstanceRole.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.