Interface DeleteDbClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteDbClusterRequest.Builder,
,DeleteDbClusterRequest> DocDbRequest.Builder
,SdkBuilder<DeleteDbClusterRequest.Builder,
,DeleteDbClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteDbClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterIdentifier
(String dbClusterIdentifier) The cluster identifier for the cluster to be deleted.finalDBSnapshotIdentifier
(String finalDBSnapshotIdentifier) The cluster snapshot identifier of the new cluster snapshot created whenSkipFinalSnapshot
is set tofalse
.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.skipFinalSnapshot
(Boolean skipFinalSnapshot) Determines whether a final cluster snapshot is created before the cluster is deleted.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.docdb.model.DocDbRequest.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 cluster identifier for the cluster to be deleted. This parameter isn't case sensitive.
Constraints:
-
Must match an existing
DBClusterIdentifier
.
- Parameters:
dbClusterIdentifier
- The cluster identifier for the 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
Determines whether a final cluster snapshot is created before the cluster is deleted. If
true
is specified, no cluster snapshot is created. Iffalse
is specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshot
isfalse
, you must specify aFinalDBSnapshotIdentifier
parameter.Default:
false
- Parameters:
skipFinalSnapshot
- Determines whether a final cluster snapshot is created before the cluster is deleted. Iftrue
is specified, no cluster snapshot is created. Iffalse
is specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshot
isfalse
, you must specify aFinalDBSnapshotIdentifier
parameter.Default:
false
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalDBSnapshotIdentifier
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshot
is set tofalse
.Specifying this parameter and also setting the
SkipFinalShapshot
parameter totrue
results in an error.Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
- Parameters:
finalDBSnapshotIdentifier
- The cluster snapshot identifier of the new cluster snapshot created whenSkipFinalSnapshot
is set tofalse
.Specifying this parameter and also setting the
SkipFinalShapshot
parameter totrue
results in an error.Constraints:
-
Must be from 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
- 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.
-