Interface DeleteDbClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteDbClusterRequest.Builder,
,DeleteDbClusterRequest> RdsRequest.Builder
,SdkBuilder<DeleteDbClusterRequest.Builder,
,DeleteDbClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteDbClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterIdentifier
(String dbClusterIdentifier) The DB cluster identifier for the DB cluster to be deleted.deleteAutomatedBackups
(Boolean deleteAutomatedBackups) Specifies whether to remove automated backups immediately after the DB cluster is deleted.finalDBSnapshotIdentifier
(String finalDBSnapshotIdentifier) The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshot
is disabled.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.skipFinalSnapshot
(Boolean skipFinalSnapshot) Specifies whether to skip the creation of a final DB cluster snapshot before RDS deletes the DB cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dbClusterIdentifier
The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.
Constraints:
-
Must match an existing DBClusterIdentifier.
- Parameters:
dbClusterIdentifier
- The DB cluster identifier for the DB cluster to be deleted. This parameter isn't case-sensitive.Constraints:
-
Must match an existing DBClusterIdentifier.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
skipFinalSnapshot
Specifies whether to skip the creation of a final DB cluster snapshot before RDS deletes the DB cluster. If you set this value to
true
, RDS doesn't create a final DB cluster snapshot. If you set this value tofalse
or don't specify it, RDS creates a DB cluster snapshot before it deletes the DB cluster. By default, this parameter is disabled, so RDS creates a final DB cluster snapshot.If
SkipFinalSnapshot
is disabled, you must specify a value for theFinalDBSnapshotIdentifier
parameter.- Parameters:
skipFinalSnapshot
- Specifies whether to skip the creation of a final DB cluster snapshot before RDS deletes the DB cluster. If you set this value totrue
, RDS doesn't create a final DB cluster snapshot. If you set this value tofalse
or don't specify it, RDS creates a DB cluster snapshot before it deletes the DB cluster. By default, this parameter is disabled, so RDS creates a final DB cluster snapshot.If
SkipFinalSnapshot
is disabled, you must specify a value for theFinalDBSnapshotIdentifier
parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalDBSnapshotIdentifier
The DB cluster snapshot identifier of the new DB cluster snapshot created when
SkipFinalSnapshot
is disabled.If you specify this parameter and also skip the creation of a final DB cluster snapshot with the
SkipFinalShapshot
parameter, the request results in an error.Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
- Parameters:
finalDBSnapshotIdentifier
- The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshot
is disabled.If you specify this parameter and also skip the creation of a final DB cluster snapshot with the
SkipFinalShapshot
parameter, the request results in an error.Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deleteAutomatedBackups
Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.
- Parameters:
deleteAutomatedBackups
- Specifies whether to remove automated backups immediately after the DB cluster is deleted. This parameter isn't case-sensitive. The default is to remove automated backups immediately after the DB cluster is deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteDbClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteDbClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-