Interface DeleteDbClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>,DocDbRequest.Builder,SdkBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteDbClusterRequest
public static interface DeleteDbClusterRequest.Builder extends DocDbRequest.Builder, SdkPojo, CopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteDbClusterRequest.BuilderdbClusterIdentifier(String dbClusterIdentifier)The cluster identifier for the cluster to be deleted.DeleteDbClusterRequest.BuilderfinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)The cluster snapshot identifier of the new cluster snapshot created whenSkipFinalSnapshotis set tofalse.DeleteDbClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteDbClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteDbClusterRequest.BuilderskipFinalSnapshot(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 Detail
-
dbClusterIdentifier
DeleteDbClusterRequest.Builder dbClusterIdentifier(String 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
DeleteDbClusterRequest.Builder skipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final cluster snapshot is created before the cluster is deleted. If
trueis specified, no cluster snapshot is created. Iffalseis specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshotisfalse, you must specify aFinalDBSnapshotIdentifierparameter.Default:
false- Parameters:
skipFinalSnapshot- Determines whether a final cluster snapshot is created before the cluster is deleted. Iftrueis specified, no cluster snapshot is created. Iffalseis specified, a cluster snapshot is created before the DB cluster is deleted.If
SkipFinalSnapshotisfalse, you must specify aFinalDBSnapshotIdentifierparameter.Default:
false- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalDBSnapshotIdentifier
DeleteDbClusterRequest.Builder finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The cluster snapshot identifier of the new cluster snapshot created when
SkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter totrueresults 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 whenSkipFinalSnapshotis set tofalse.Specifying this parameter and also setting the
SkipFinalShapshotparameter totrueresults 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteDbClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-