Interface ModifyDbClusterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyDbClusterGroupRequest.Builder,,ModifyDbClusterGroupRequest> RdsRequest.Builder,SdkBuilder<ModifyDbClusterGroupRequest.Builder,,ModifyDbClusterGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyDbClusterGroupRequest
-
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.adminUserPassword(String adminUserPassword) The password for the admin user that the routing endpoint uses to connect to the member DB clusters.applyImmediately(Boolean applyImmediately) Specifies whether to apply the engine version upgrade as soon as possible, regardless of thePreferredMaintenanceWindowsetting for the DB cluster group.backupRetentionPeriod(Integer backupRetentionPeriod) The number of days for which automated backups of the DB cluster group are retained.copyTagsToSnapshot(Boolean copyTagsToSnapshot) Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group.dbClusterGroupIdentifier(String dbClusterGroupIdentifier) The identifier of the DB cluster group to modify.deletionProtection(Boolean deletionProtection) Specifies whether the DB cluster group has deletion protection enabled.enableRouting(Boolean enableRouting) Specifies whether to enable or disable routing for the DB cluster group.engineVersion(String engineVersion) The engine version to upgrade the member DB clusters of the DB cluster group to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.preferredBackupWindow(String preferredBackupWindow) The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).preferredMaintenanceWindow(String preferredMaintenanceWindow) The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).routingEndpointConfiguration(Consumer<RoutingEndpointConfiguration.Builder> routingEndpointConfiguration) The settings of the routing endpoint.routingEndpointConfiguration(RoutingEndpointConfiguration routingEndpointConfiguration) The settings of the routing endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
buildMethods 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 to modify.
- Parameters:
dbClusterGroupIdentifier- The identifier of the DB cluster group to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredMaintenanceWindow
The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).
Format:
ddd:hh24:mi-ddd:hh24:miValid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.
The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.
- Parameters:
preferredMaintenanceWindow- The weekly time range during which system maintenance can occur for the DB cluster group, in Universal Coordinated Time (UTC).Format:
ddd:hh24:mi-ddd:hh24:miValid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Must be at least 30 minutes. Must not overlap the preferred backup window.
The maintenance window of the DB cluster group can overlap the maintenance windows of its member DB clusters.
- 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 for the DB cluster group, in Universal Coordinated Time (UTC).
Format:
hh24:mi-hh24:miConstraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.
- Parameters:
preferredBackupWindow- The daily time range during which automated backups are created for the DB cluster group, in Universal Coordinated Time (UTC).Format:
hh24:mi-hh24:miConstraints: Must be at least 30 minutes. Must not overlap the preferred maintenance window of the DB cluster group or the preferred maintenance window of any member DB cluster.
- 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.
Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.
- Parameters:
backupRetentionPeriod- The number of days for which automated backups of the DB cluster group are retained.Constraints: Must be a value from 1 to 35. Can't be greater than the backup retention period of any member DB cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTagsToSnapshot
Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.
- Parameters:
copyTagsToSnapshot- Specifies whether to copy all tags from the DB cluster group to snapshots of the DB cluster group. The default is not to copy them.- 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. By default, deletion protection isn't 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. By default, deletion protection isn't enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableRouting
Specifies whether to enable or disable routing for the DB cluster group.
When you enable routing, you must specify
VpcSubnetIdsinRoutingEndpointConfiguration.- Parameters:
enableRouting- Specifies whether to enable or disable routing for the DB cluster group.When you enable routing, you must specify
VpcSubnetIdsinRoutingEndpointConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingEndpointConfiguration
ModifyDbClusterGroupRequest.Builder routingEndpointConfiguration(RoutingEndpointConfiguration routingEndpointConfiguration) The settings of the routing endpoint. Specify this parameter with
EnableRoutingset totrue, includingVpcSubnetIds, or to changeParameterswhile routing is enabled.- Parameters:
routingEndpointConfiguration- The settings of the routing endpoint. Specify this parameter withEnableRoutingset totrue, includingVpcSubnetIds, or to changeParameterswhile routing is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingEndpointConfiguration
default ModifyDbClusterGroupRequest.Builder routingEndpointConfiguration(Consumer<RoutingEndpointConfiguration.Builder> routingEndpointConfiguration) The settings of the routing endpoint. Specify this parameter with
This is a convenience method that creates an instance of theEnableRoutingset totrue, includingVpcSubnetIds, or to changeParameterswhile routing is enabled.RoutingEndpointConfiguration.Builderavoiding the need to create one manually viaRoutingEndpointConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingEndpointConfiguration(RoutingEndpointConfiguration).- Parameters:
routingEndpointConfiguration- a consumer that will call methods onRoutingEndpointConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineVersion
The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in the
PendingModifiedValuesof the DB cluster group.- Parameters:
engineVersion- The engine version to upgrade the member DB clusters of the DB cluster group to. Until the upgrade is applied, the version is shown in thePendingModifiedValuesof the DB cluster group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applyImmediately
Specifies whether to apply the engine version upgrade as soon as possible, regardless of the
PreferredMaintenanceWindowsetting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.Default:
false- Parameters:
applyImmediately- Specifies whether to apply the engine version upgrade as soon as possible, regardless of thePreferredMaintenanceWindowsetting for the DB cluster group. If this parameter is disabled, the upgrade is applied during the next maintenance window.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminUsername
The name of the admin user that the routing endpoint uses to connect to the member DB clusters.
If you specify
AdminUsername, you must also specifyAdminUserPassword.Default: None. An admin user is required when you enable routing.
- Parameters:
adminUsername- The name of the admin user that the routing endpoint uses to connect to the member DB clusters.If you specify
AdminUsername, you must also specifyAdminUserPassword.Default: None. An admin user is required when you enable routing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
adminUserPassword
The password for the admin user that the routing endpoint uses to connect to the member DB clusters.
If you specify
AdminUserPassword, you must also specifyAdminUsername.Default: None. An admin user is required when you enable routing.
- Parameters:
adminUserPassword- The password for the admin user that the routing endpoint uses to connect to the member DB clusters.If you specify
AdminUserPassword, you must also specifyAdminUsername.Default: None. An admin user is required when you enable routing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyDbClusterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyDbClusterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-