Class AwsRdsDbInstanceAssociatedRole
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsRdsDbInstanceAssociatedRole
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsRdsDbInstanceAssociatedRole.Builder,AwsRdsDbInstanceAssociatedRole>
@Generated("software.amazon.awssdk:codegen") public final class AwsRdsDbInstanceAssociatedRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsRdsDbInstanceAssociatedRole.Builder,AwsRdsDbInstanceAssociatedRole>
An IAM role associated with the DB instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsRdsDbInstanceAssociatedRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsRdsDbInstanceAssociatedRole.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfeatureName()The name of the feature associated with the IAM role.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringroleArn()The ARN of the IAM role that is associated with the DB instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsRdsDbInstanceAssociatedRole.Builder>serializableBuilderClass()Stringstatus()Describes the state of the association between the IAM role and the DB instance.AwsRdsDbInstanceAssociatedRole.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 ARN of the IAM role that is associated with the DB instance.
- Returns:
- The 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 IAM role.
- Returns:
- The name of the feature associated with the IAM role.
-
status
public final String status()
Describes the state of the association between the IAM role and the DB instance. The
Statusproperty 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:
- Describes the state of the association between the IAM role and the DB instance. The
Statusproperty 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 AwsRdsDbInstanceAssociatedRole.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsRdsDbInstanceAssociatedRole.Builder,AwsRdsDbInstanceAssociatedRole>
-
builder
public static AwsRdsDbInstanceAssociatedRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsRdsDbInstanceAssociatedRole.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
-
-