Cloneable
, ReadLimitInfo
, ToCopyableBuilder<DeleteDBInstanceRequest.Builder,DeleteDBInstanceRequest>
@Generated("software.amazon.awssdk:codegen") public class DeleteDBInstanceRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<DeleteDBInstanceRequest.Builder,DeleteDBInstanceRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DeleteDBInstanceRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static DeleteDBInstanceRequest.Builder |
builder() |
|
String |
dbInstanceIdentifier() |
The DB instance identifier for the DB instance to be deleted.
|
boolean |
equals(Object obj) |
|
String |
finalDBSnapshotIdentifier() |
The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to
false . |
int |
hashCode() |
|
static Class<? extends DeleteDBInstanceRequest.Builder> |
serializableBuilderClass() |
|
Boolean |
skipFinalSnapshot() |
Determines whether a final DB snapshot is created before the DB instance is deleted.
|
DeleteDBInstanceRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String dbInstanceIdentifier()
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
public 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
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
public 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 alphanumeric characters
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Cannot be specified when deleting a Read Replica.
false
. Specifying this parameter and also setting the SkipFinalShapshot parameter to true results in an error.
Constraints:
Must be 1 to 255 alphanumeric characters
First character must be a letter
Cannot end with a hyphen or contain two consecutive hyphens
Cannot be specified when deleting a Read Replica.
public DeleteDBInstanceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeleteDBInstanceRequest.Builder,DeleteDBInstanceRequest>
public static DeleteDBInstanceRequest.Builder builder()
public static Class<? extends DeleteDBInstanceRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.