Interface DBClusterGroup.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DBClusterGroup.Builder,,DBClusterGroup> SdkBuilder<DBClusterGroup.Builder,,DBClusterGroup> SdkPojo
- Enclosing class:
DBClusterGroup
-
Method Summary
Modifier and TypeMethodDescriptionadminUsername(String adminUsername) The name of the admin user that the routing endpoint uses to connect to the member DB clusters.backupRetentionPeriod(Integer backupRetentionPeriod) The number of days for which automated backups of the DB cluster group are retained.copyTagsToSnapshot(Boolean copyTagsToSnapshot) Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.dbClusterGroupArn(String dbClusterGroupArn) The Amazon Resource Name (ARN) for the DB cluster group.dbClusterGroupCreateTime(Instant dbClusterGroupCreateTime) The time when the DB cluster group was created, in Universal Coordinated Time (UTC).dbClusterGroupIdentifier(String dbClusterGroupIdentifier) The identifier of the DB cluster group.dbClusterGroupMembers(Collection<DBClusterGroupMember> dbClusterGroupMembers) The DB clusters that are members of the DB cluster group.dbClusterGroupMembers(Consumer<DBClusterGroupMember.Builder>... dbClusterGroupMembers) The DB clusters that are members of the DB cluster group.dbClusterGroupMembers(DBClusterGroupMember... dbClusterGroupMembers) The DB clusters that are members of the DB cluster group.dbClusterGroupResourceId(String dbClusterGroupResourceId) The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.deletionProtection(Boolean deletionProtection) Specifies whether the DB cluster group has deletion protection enabled.earliestRestorableTime(Instant earliestRestorableTime) The earliest time to which the DB cluster group can be restored with point-in-time restore.The database engine used by the DB cluster group.latestRestorableTime(Instant latestRestorableTime) The latest time to which the DB cluster group can be restored with point-in-time restore.maxEngineVersion(String maxEngineVersion) The highest engine version among the member DB clusters of the DB cluster group.minEngineVersion(String minEngineVersion) The lowest engine version among the member DB clusters of the DB cluster group.default DBClusterGroup.BuilderpendingModifiedValues(Consumer<DBClusterGroupPendingModifiedValues.Builder> pendingModifiedValues) Changes to the DB cluster group that are pending.pendingModifiedValues(DBClusterGroupPendingModifiedValues pendingModifiedValues) Changes to the DB cluster group that are pending.preferredBackupWindow(String preferredBackupWindow) The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).preferredMaintenanceWindow(String preferredMaintenanceWindow) The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).routingEnabled(Boolean routingEnabled) Specifies whether routing is enabled for the DB cluster group.default DBClusterGroup.BuilderroutingEndpointConfigurationInfo(Consumer<RoutingEndpointConfigurationInfo.Builder> routingEndpointConfigurationInfo) The details of the routing endpoint of the DB cluster group.routingEndpointConfigurationInfo(RoutingEndpointConfigurationInfo routingEndpointConfigurationInfo) The details of the routing endpoint of the DB cluster group.The status of the DB cluster group.status(DBClusterGroupStatus status) The status of the DB cluster group.tagList(Collection<Tag> tagList) The tags assigned to the DB cluster group.tagList(Consumer<Tag.Builder>... tagList) The tags assigned to the DB cluster group.The tags assigned to the DB cluster group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dbClusterGroupIdentifier
The identifier of the DB cluster group.
- Parameters:
dbClusterGroupIdentifier- The identifier of the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupResourceId
The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.
- Parameters:
dbClusterGroupResourceId- The Amazon Web Services Region-unique, immutable identifier for the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupArn
The Amazon Resource Name (ARN) for the DB cluster group.
- Parameters:
dbClusterGroupArn- The Amazon Resource Name (ARN) for the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
engine
The database engine used by the DB cluster group.
- Parameters:
engine- The database engine used by the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minEngineVersion
The lowest engine version among the member DB clusters of the DB cluster group.
- Parameters:
minEngineVersion- The lowest engine version among the member DB clusters of the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxEngineVersion
The highest engine version among the member DB clusters of the DB cluster group.
- Parameters:
maxEngineVersion- The highest engine version among the member DB clusters of the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
DBClusterGroup.Builder pendingModifiedValues(DBClusterGroupPendingModifiedValues pendingModifiedValues) Changes to the DB cluster group that are pending.
- Parameters:
pendingModifiedValues- Changes to the DB cluster group that are pending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingModifiedValues
default DBClusterGroup.Builder pendingModifiedValues(Consumer<DBClusterGroupPendingModifiedValues.Builder> pendingModifiedValues) Changes to the DB cluster group that are pending.
This is a convenience method that creates an instance of theDBClusterGroupPendingModifiedValues.Builderavoiding the need to create one manually viaDBClusterGroupPendingModifiedValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topendingModifiedValues(DBClusterGroupPendingModifiedValues).- Parameters:
pendingModifiedValues- a consumer that will call methods onDBClusterGroupPendingModifiedValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Parameters:
preferredMaintenanceWindow- The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTagsToSnapshot
Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.
- Parameters:
copyTagsToSnapshot- Specifies whether tags are copied from the DB cluster group to snapshots of the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredBackupWindow
The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).
- Parameters:
preferredBackupWindow- The daily time range during which automated backups are created, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRetentionPeriod
The number of days for which automated backups of the DB cluster group are retained.
- Parameters:
backupRetentionPeriod- The number of days for which automated backups of the DB cluster group are retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
earliestRestorableTime
The earliest time to which the DB cluster group can be restored with point-in-time restore.
- Parameters:
earliestRestorableTime- The earliest time to which the DB cluster group can be restored with point-in-time restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRestorableTime
The latest time to which the DB cluster group can be restored with point-in-time restore.
- Parameters:
latestRestorableTime- The latest time to which the DB cluster group can be restored with point-in-time restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupCreateTime
The time when the DB cluster group was created, in Universal Coordinated Time (UTC).
- Parameters:
dbClusterGroupCreateTime- The time when the DB cluster group was created, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtection
Specifies whether the DB cluster group has deletion protection enabled. You can't delete the DB cluster group when deletion protection is enabled.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
routingEnabled
Specifies whether routing is enabled for the DB cluster group.
- Parameters:
routingEnabled- Specifies whether routing is enabled for the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingEndpointConfigurationInfo
DBClusterGroup.Builder routingEndpointConfigurationInfo(RoutingEndpointConfigurationInfo routingEndpointConfigurationInfo) The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.
- Parameters:
routingEndpointConfigurationInfo- The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingEndpointConfigurationInfo
default DBClusterGroup.Builder routingEndpointConfigurationInfo(Consumer<RoutingEndpointConfigurationInfo.Builder> routingEndpointConfigurationInfo) The details of the routing endpoint of the DB cluster group. This element is returned only when routing is enabled.
This is a convenience method that creates an instance of theRoutingEndpointConfigurationInfo.Builderavoiding the need to create one manually viaRoutingEndpointConfigurationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingEndpointConfigurationInfo(RoutingEndpointConfigurationInfo).- Parameters:
routingEndpointConfigurationInfo- a consumer that will call methods onRoutingEndpointConfigurationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagList
The tags assigned to the DB cluster group.
- Parameters:
tagList- The tags assigned to the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
The tags assigned to the DB cluster group.
- Parameters:
tagList- The tags assigned to the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
The tags assigned to the DB cluster group.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagList(List<Tag>).- Parameters:
tagList- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dbClusterGroupMembers
DBClusterGroup.Builder dbClusterGroupMembers(Collection<DBClusterGroupMember> dbClusterGroupMembers) The DB clusters that are members of the DB cluster group.
- Parameters:
dbClusterGroupMembers- The DB clusters that are members of the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupMembers
The DB clusters that are members of the DB cluster group.
- Parameters:
dbClusterGroupMembers- The DB clusters that are members of the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterGroupMembers
DBClusterGroup.Builder dbClusterGroupMembers(Consumer<DBClusterGroupMember.Builder>... dbClusterGroupMembers) The DB clusters that are members of the DB cluster group.
This is a convenience method that creates an instance of theDBClusterGroupMember.Builderavoiding the need to create one manually viaDBClusterGroupMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbClusterGroupMembers(List<DBClusterGroupMember>).- Parameters:
dbClusterGroupMembers- a consumer that will call methods onDBClusterGroupMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
adminUsername
The name of the admin user that the routing endpoint uses to connect to the member DB clusters.
- Parameters:
adminUsername- The name of the admin user that the routing endpoint uses to connect to the member DB clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-