Class DBInstanceRole
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.DBInstanceRole
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>
@Generated("software.amazon.awssdk:codegen") public final class DBInstanceRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>
Information about an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDBInstanceRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBInstanceRole.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfeatureName()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)inthashCode()StringroleArn()The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DBInstanceRole.Builder>serializableBuilderClass()Stringstatus()Information about the state of association between the IAM role and the DB instance.DBInstanceRole.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB instance.
-
featureName
public final String featureName()
The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see
DBEngineVersion.- Returns:
- The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM)
role. For information about supported feature names, see
DBEngineVersion.
-
status
public final String status()
Information about 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.
- Returns:
- Information about 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.
-
-
-
toBuilder
public DBInstanceRole.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DBInstanceRole.Builder,DBInstanceRole>
-
builder
public static DBInstanceRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends DBInstanceRole.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-