public static interface DeleteDBInstanceRequest.Builder extends RDSRequest.Builder, 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 |
finalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to
false . |
DeleteDBInstanceRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DeleteDBInstanceRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteDBInstanceRequest.Builder |
skipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final DB snapshot is created before the DB instance is deleted.
|
build
requestOverrideConfig
copy
apply, build
DeleteDBInstanceRequest.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)
Determines whether a final DB snapshot is created before the DB instance is deleted. If true
is
specified, no DBSnapshot is created. If false
is specified, a DB snapshot is created before the
DB instance is deleted.
Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted 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
- Determines whether a final DB snapshot is created before the DB instance is deleted. If
true
is specified, no DBSnapshot is created. If false
is specified, a DB
snapshot is created before the DB instance is deleted.
Note that when a DB instance is in a failure state and has a status of 'failed', 'incompatible-restore', or 'incompatible-network', it can only be deleted 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 DBSnapshot 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
Cannot end with a hyphen or contain two consecutive hyphens
Cannot be specified when deleting a Read Replica.
finalDBSnapshotIdentifier
- The DBSnapshotIdentifier of the new DBSnapshot 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
Cannot end with a hyphen or contain two consecutive hyphens
Cannot be specified when deleting a Read Replica.
DeleteDBInstanceRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.DeleteDBInstanceRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.