Class DBClusterMember
- java.lang.Object
-
- software.amazon.awssdk.services.neptune.model.DBClusterMember
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DBClusterMember.Builder,DBClusterMember>
@Generated("software.amazon.awssdk:codegen") public final class DBClusterMember extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DBClusterMember.Builder,DBClusterMember>
Contains information about an instance that is part of a DB cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDBClusterMember.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBClusterMember.Builderbuilder()StringdbClusterParameterGroupStatus()Specifies the status of the DB cluster parameter group for this member of the DB cluster.StringdbInstanceIdentifier()Specifies the instance identifier for this member of the DB cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisClusterWriter()Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.IntegerpromotionTier()A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DBClusterMember.Builder>serializableBuilderClass()DBClusterMember.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
-
dbInstanceIdentifier
public final String dbInstanceIdentifier()
Specifies the instance identifier for this member of the DB cluster.
- Returns:
- Specifies the instance identifier for this member of the DB cluster.
-
isClusterWriter
public final Boolean isClusterWriter()
Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.- Returns:
- Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.
-
dbClusterParameterGroupStatus
public final String dbClusterParameterGroupStatus()
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
- Returns:
- Specifies the status of the DB cluster parameter group for this member of the DB cluster.
-
promotionTier
public final Integer promotionTier()
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.
- Returns:
- A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.
-
toBuilder
public DBClusterMember.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DBClusterMember.Builder,DBClusterMember>
-
builder
public static DBClusterMember.Builder builder()
-
serializableBuilderClass
public static Class<? extends DBClusterMember.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
-
-