Interface DeleteDbClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDbClusterRequest.Builder,,DeleteDbClusterRequest> NeptuneRequest.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.finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier) The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshotis 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 DB cluster snapshot is created before the DB cluster is deleted.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.neptune.model.NeptuneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. If
trueis specified, no DB cluster snapshot is created. Iffalseis specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a
FinalDBSnapshotIdentifierparameter ifSkipFinalSnapshotisfalse.Default:
false- Parameters:
skipFinalSnapshot- Determines whether a final DB cluster snapshot is created before the DB cluster is deleted. Iftrueis specified, no DB cluster snapshot is created. Iffalseis specified, a DB cluster snapshot is created before the DB cluster is deleted.You must specify a
FinalDBSnapshotIdentifierparameter ifSkipFinalSnapshotisfalse.Default:
false- 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
SkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter to true results in an error.Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
- Parameters:
finalDBSnapshotIdentifier- The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter to true results in an error.Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-