Class DBClusterRole
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.DBClusterRole
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DBClusterRole.Builder,DBClusterRole>
@Generated("software.amazon.awssdk:codegen") public final class DBClusterRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBClusterRole.Builder,DBClusterRole>
Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DBClusterRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBClusterRole.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 cluster.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends DBClusterRole.Builder>
serializableBuilderClass()
String
status()
Describes the state of association between the IAM role and the DB cluster.DBClusterRole.Builder
toBuilder()
String
toString()
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 cluster.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
-
status
public final 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 Web 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 Web Services on your behalf.
- Returns:
- 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 Web 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 Web Services on your behalf.
-
-
-
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.
-
toBuilder
public DBClusterRole.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DBClusterRole.Builder,DBClusterRole>
-
builder
public static DBClusterRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends DBClusterRole.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-