Interface DeleteDbClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>,RdsRequest.Builder,SdkBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DeleteDbClusterRequest
public static interface DeleteDbClusterRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<DeleteDbClusterRequest.Builder,DeleteDbClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteDbClusterRequest.BuilderdbClusterIdentifier(String dbClusterIdentifier)The DB cluster identifier for the DB cluster to be deleted.DeleteDbClusterRequest.BuilderdeleteAutomatedBackups(Boolean deleteAutomatedBackups)Specifies whether to remove automated backups immediately after the DB cluster is deleted.DeleteDbClusterRequest.BuilderfinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)The DB cluster snapshot identifier of the new DB cluster snapshot created whenSkipFinalSnapshotis disabled.DeleteDbClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteDbClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteDbClusterRequest.BuilderskipFinalSnapshot(Boolean skipFinalSnapshot)Specifies whether to skip the creation of a final DB cluster snapshot before the DB 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.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 Detail
-
dbClusterIdentifier
DeleteDbClusterRequest.Builder dbClusterIdentifier(String 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
DeleteDbClusterRequest.Builder skipFinalSnapshot(Boolean skipFinalSnapshot)
Specifies whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted. If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. By default, this parameter is disabled.
You must specify a
FinalDBSnapshotIdentifierparameter ifSkipFinalSnapshotis disabled.- Parameters:
skipFinalSnapshot- Specifies whether to skip the creation of a final DB cluster snapshot before the DB cluster is deleted. If skip is specified, no DB cluster snapshot is created. If skip isn't specified, a DB cluster snapshot is created before the DB cluster is deleted. By default, skip isn't specified, and the DB cluster snapshot is created. By default, this parameter is disabled.You must specify a
FinalDBSnapshotIdentifierparameter ifSkipFinalSnapshotis disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finalDBSnapshotIdentifier
DeleteDbClusterRequest.Builder finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DB cluster snapshot identifier of the new DB cluster snapshot created when
SkipFinalSnapshotis disabled.Specifying this parameter and also skipping the creation of a final DB cluster snapshot with the
SkipFinalShapshotparameter 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 whenSkipFinalSnapshotis disabled.Specifying this parameter and also skipping the creation of a final DB cluster snapshot with the
SkipFinalShapshotparameter 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
DeleteDbClusterRequest.Builder deleteAutomatedBackups(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteDbClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-