public static interface DeleteDbInstanceRequest.Builder extends RdsRequest.Builder, SdkPojo, CopyableBuilder<DeleteDbInstanceRequest.Builder,DeleteDbInstanceRequest>
| Modifier and Type | Method and Description |
|---|---|
DeleteDbInstanceRequest.Builder |
dbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted.
|
DeleteDbInstanceRequest.Builder |
deleteAutomatedBackups(Boolean deleteAutomatedBackups)
A value that indicates whether to remove automated backups immediately after the DB instance is deleted.
|
DeleteDbInstanceRequest.Builder |
finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The
DBSnapshotIdentifier of the new DB snapshot created when SkipFinalSnapshot is
set to false. |
DeleteDbInstanceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteDbInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteDbInstanceRequest.Builder |
skipFinalSnapshot(Boolean skipFinalSnapshot)
A value that indicates whether a final DB snapshot is created before the DB instance is deleted.
|
buildoverrideConfigurationcopyapplyMutation, buildDeleteDbInstanceRequest.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
Must match the name of an existing DB instance.
dbInstanceIdentifier - The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
Must match the name of an existing DB instance.
DeleteDbInstanceRequest.Builder skipFinalSnapshot(Boolean skipFinalSnapshot)
A value that indicates whether a final DB snapshot is created before the DB instance is deleted. If
true is specified, no DB snapshot is created. If false is specified, a DB snapshot
is created before the DB instance is deleted.
When a DB instance is in a failure state and has a status of failed,
incompatible-restore, or incompatible-network, you can only delete it when the
SkipFinalSnapshot parameter is set to true.
Specify true when deleting a Read Replica.
The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is
false.
Default: false
skipFinalSnapshot - A value that indicates whether a final DB snapshot is created before the DB instance is deleted. If
true is specified, no DB snapshot is created. If false is specified, a DB
snapshot is created before the DB instance is deleted.
When a DB instance is in a failure state and has a status of failed,
incompatible-restore, or incompatible-network, you can only delete it when
the SkipFinalSnapshot parameter is set to true.
Specify true when deleting a Read Replica.
The FinalDBSnapshotIdentifier parameter must be specified if
SkipFinalSnapshot is false.
Default: false
DeleteDbInstanceRequest.Builder finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DB snapshot created when SkipFinalSnapshot is
set to false.
Specifying this parameter and also setting the SkipFinalShapshot parameter to true
results in an error.
Constraints:
Must be 1 to 255 letters or numbers.
First character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Can't be specified when deleting a Read Replica.
finalDBSnapshotIdentifier - The DBSnapshotIdentifier of the new DB snapshot created when
SkipFinalSnapshot is set to false.
Specifying this parameter and also setting the SkipFinalShapshot parameter to
true results in an error.
Constraints:
Must be 1 to 255 letters or numbers.
First character must be a letter.
Can't end with a hyphen or contain two consecutive hyphens.
Can't be specified when deleting a Read Replica.
DeleteDbInstanceRequest.Builder deleteAutomatedBackups(Boolean deleteAutomatedBackups)
A value that indicates whether to remove automated backups immediately after the DB instance is deleted. This
parameter isn't case-sensitive. This parameter defaults to true.
deleteAutomatedBackups - A value that indicates whether to remove automated backups immediately after the DB instance is
deleted. This parameter isn't case-sensitive. This parameter defaults to true.DeleteDbInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DeleteDbInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.