@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteDBInstanceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteDBInstanceRequest()
Default constructor for DeleteDBInstanceRequest object.
|
DeleteDBInstanceRequest(String dBInstanceIdentifier)
Constructs a new DeleteDBInstanceRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteDBInstanceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDBInstanceIdentifier()
The DB instance identifier for the DB instance to be deleted.
|
Boolean |
getDeleteAutomatedBackups()
A value that indicates whether to remove automated backups immediately after the DB instance is deleted.
|
String |
getFinalDBSnapshotIdentifier()
The
DBSnapshotIdentifier of the new DB snapshot created when SkipFinalSnapshot is set
to false . |
Boolean |
getSkipFinalSnapshot()
A value that indicates whether a final DB snapshot is created before the DB instance is deleted.
|
int |
hashCode() |
Boolean |
isDeleteAutomatedBackups()
A value that indicates whether to remove automated backups immediately after the DB instance is deleted.
|
Boolean |
isSkipFinalSnapshot()
A value that indicates whether a final DB snapshot is created before the DB instance is deleted.
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted.
|
void |
setDeleteAutomatedBackups(Boolean deleteAutomatedBackups)
A value that indicates whether to remove automated backups immediately after the DB instance is deleted.
|
void |
setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The
DBSnapshotIdentifier of the new DB snapshot created when SkipFinalSnapshot is set
to false . |
void |
setSkipFinalSnapshot(Boolean skipFinalSnapshot)
A value that indicates whether a final DB snapshot is created before the DB instance is deleted.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeleteDBInstanceRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted.
|
DeleteDBInstanceRequest |
withDeleteAutomatedBackups(Boolean deleteAutomatedBackups)
A value that indicates whether to remove automated backups immediately after the DB instance is deleted.
|
DeleteDBInstanceRequest |
withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The
DBSnapshotIdentifier of the new DB snapshot created when SkipFinalSnapshot is set
to false . |
DeleteDBInstanceRequest |
withSkipFinalSnapshot(Boolean skipFinalSnapshot)
A value that indicates whether a final DB snapshot is created before the DB instance is deleted.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DeleteDBInstanceRequest()
public DeleteDBInstanceRequest(String dBInstanceIdentifier)
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.
public void setDBInstanceIdentifier(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.
public String getDBInstanceIdentifier()
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.
Constraints:
Must match the name of an existing DB instance.
public DeleteDBInstanceRequest withDBInstanceIdentifier(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.
public void setSkipFinalSnapshot(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
public Boolean getSkipFinalSnapshot()
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
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
public DeleteDBInstanceRequest withSkipFinalSnapshot(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
public Boolean isSkipFinalSnapshot()
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
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
public void setFinalDBSnapshotIdentifier(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.
public String getFinalDBSnapshotIdentifier()
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.
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.
public DeleteDBInstanceRequest withFinalDBSnapshotIdentifier(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.
public void setDeleteAutomatedBackups(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
.public Boolean getDeleteAutomatedBackups()
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
.
true
.public DeleteDBInstanceRequest withDeleteAutomatedBackups(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
.public Boolean isDeleteAutomatedBackups()
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
.
true
.public String toString()
toString
in class Object
Object.toString()
public DeleteDBInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.