Class DBClusterGroup
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DBClusterGroup.Builder,DBClusterGroup>
Describes a DB cluster group, including its settings, status, member DB clusters, and routing endpoint.
This data type is used as a response element in the CreateDBClusterGroup,
DeleteDBClusterGroup, DescribeDBClusterGroups, ModifyDBClusterGroup,
RestoreDBClusterGroupFromSnapshot, and RestoreDBClusterGroupToPointInTime actions.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe name of the admin user that the routing endpoint uses to connect to the member DB clusters.final IntegerThe number of days for which automated backups of the DB cluster group are retained.static DBClusterGroup.Builderbuilder()final BooleanSpecifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.final StringThe Amazon Resource Name (ARN) for the DB cluster group.final InstantThe time when the DB cluster group was created, in Universal Coordinated Time (UTC).final StringThe identifier of the DB cluster group.final List<DBClusterGroupMember> The DB clusters that are members of the DB cluster group.final StringThe Amazon Web Services Region-unique, immutable identifier for the DB cluster group.final BooleanSpecifies whether the DB cluster group has deletion protection enabled.final InstantThe earliest time to which the DB cluster group can be restored with point-in-time restore.final Stringengine()The database engine used by the DB cluster group.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the DBClusterGroupMembers property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the TagList property.final InstantThe latest time to which the DB cluster group can be restored with point-in-time restore.final StringThe highest engine version among the member DB clusters of the DB cluster group.final StringThe lowest engine version among the member DB clusters of the DB cluster group.Changes to the DB cluster group that are pending.final StringThe daily time range during which automated backups are created, in Universal Coordinated Time (UTC).final StringThe weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).final BooleanSpecifies whether routing is enabled for the DB cluster group.The details of the routing endpoint of the DB cluster group.static Class<? extends DBClusterGroup.Builder> final DBClusterGroupStatusstatus()The status of the DB cluster group.final StringThe status of the DB cluster group.tagList()The tags assigned to the DB cluster group.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dbClusterGroupIdentifier
The identifier of the DB cluster group.
- Returns:
- The identifier of the DB cluster group.
-
dbClusterGroupResourceId
The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.
- Returns:
- The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.
-
dbClusterGroupArn
The Amazon Resource Name (ARN) for the DB cluster group.
- Returns:
- The Amazon Resource Name (ARN) for the DB cluster group.
-
status
The status of the DB cluster group.
Valid Values:
-
creating- Amazon RDS is creating the DB cluster group. -
available- The DB cluster group is ready to use. -
modifying- Amazon RDS is applying a change to the DB cluster group. -
deleting- Amazon RDS is deleting the DB cluster group. -
incompatible-restore- Amazon RDS couldn't restore the DB cluster group.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDBClusterGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the DB cluster group.
Valid Values:
-
creating- Amazon RDS is creating the DB cluster group. -
available- The DB cluster group is ready to use. -
modifying- Amazon RDS is applying a change to the DB cluster group. -
deleting- Amazon RDS is deleting the DB cluster group. -
incompatible-restore- Amazon RDS couldn't restore the DB cluster group.
-
- See Also:
-
-
statusAsString
The status of the DB cluster group.
Valid Values:
-
creating- Amazon RDS is creating the DB cluster group. -
available- The DB cluster group is ready to use. -
modifying- Amazon RDS is applying a change to the DB cluster group. -
deleting- Amazon RDS is deleting the DB cluster group. -
incompatible-restore- Amazon RDS couldn't restore the DB cluster group.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDBClusterGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the DB cluster group.
Valid Values:
-
creating- Amazon RDS is creating the DB cluster group. -
available- The DB cluster group is ready to use. -
modifying- Amazon RDS is applying a change to the DB cluster group. -
deleting- Amazon RDS is deleting the DB cluster group. -
incompatible-restore- Amazon RDS couldn't restore the DB cluster group.
-
- See Also:
-
-
engine
The database engine used by the DB cluster group.
- Returns:
- The database engine used by the DB cluster group.
-
minEngineVersion
The lowest engine version among the member DB clusters of the DB cluster group.
- Returns:
- The lowest engine version among the member DB clusters of the DB cluster group.
-
maxEngineVersion
The highest engine version among the member DB clusters of the DB cluster group.
- Returns:
- The highest engine version among the member DB clusters of the DB cluster group.
-
pendingModifiedValues
Changes to the DB cluster group that are pending.
- Returns:
- Changes to the DB cluster group that are pending.
-
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Returns:
- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
-
copyTagsToSnapshot
Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.
- Returns:
- Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.
-
preferredBackupWindow
The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).
- Returns:
- The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).
-
backupRetentionPeriod
The number of days for which automated backups of the DB cluster group are retained.
- Returns:
- The number of days for which automated backups of the DB cluster group are retained.
-
earliestRestorableTime
The earliest time to which the DB cluster group can be restored with point-in-time restore.
- Returns:
- The earliest time to which the DB cluster group can be restored with point-in-time restore.
-
latestRestorableTime
The latest time to which the DB cluster group can be restored with point-in-time restore.
- Returns:
- The latest time to which the DB cluster group can be restored with point-in-time restore.
-
dbClusterGroupCreateTime
The time when the DB cluster group was created, in Universal Coordinated Time (UTC).
- Returns:
- The time when the DB cluster group was created, in Universal Coordinated Time (UTC).
-
deletionProtection
Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled.
- Returns:
- Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled.
-
routingEnabled
Specifies whether routing is enabled for the DB cluster group.
- Returns:
- Specifies whether routing is enabled for the DB cluster group.
-
routingEndpointConfigurationInfo
The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.
- Returns:
- The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.
-
hasTagList
public final boolean hasTagList()For responses, this returns true if the service returned a value for the TagList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tagList
The tags assigned to the DB cluster group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTagList()method.- Returns:
- The tags assigned to the DB cluster group.
-
hasDbClusterGroupMembers
public final boolean hasDbClusterGroupMembers()For responses, this returns true if the service returned a value for the DBClusterGroupMembers property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
dbClusterGroupMembers
The DB clusters that are members of the DB cluster group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDbClusterGroupMembers()method.- Returns:
- The DB clusters that are members of the DB cluster group.
-
adminUsername
The name of the admin user that the routing endpoint uses to connect to the member DB clusters.
- Returns:
- The name of the admin user that the routing endpoint uses to connect to the member DB clusters.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DBClusterGroup.Builder,DBClusterGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-