public class DeleteDBInstanceRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBInstanceIdentifier
The DB instance identifier for the DB instance to be deleted.
|
private java.lang.String |
finalDBSnapshotIdentifier
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to
false . |
private java.lang.Boolean |
skipFinalSnapshot
Determines whether a final DB snapshot is created before the DB instance
is deleted.
|
NOOP
Constructor and Description |
---|
DeleteDBInstanceRequest()
Default constructor for DeleteDBInstanceRequest object.
|
DeleteDBInstanceRequest(java.lang.String dBInstanceIdentifier)
Constructs a new DeleteDBInstanceRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteDBInstanceRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBInstanceIdentifier()
The DB instance identifier for the DB instance to be deleted.
|
java.lang.String |
getFinalDBSnapshotIdentifier()
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to
false . |
java.lang.Boolean |
getSkipFinalSnapshot()
Determines whether a final DB snapshot is created before the DB instance
is deleted.
|
int |
hashCode() |
java.lang.Boolean |
isSkipFinalSnapshot()
Determines whether a final DB snapshot is created before the DB instance
is deleted.
|
void |
setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted.
|
void |
setFinalDBSnapshotIdentifier(java.lang.String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to
false . |
void |
setSkipFinalSnapshot(java.lang.Boolean skipFinalSnapshot)
Determines whether a final DB snapshot is created before the DB instance
is deleted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDBInstanceRequest |
withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted.
|
DeleteDBInstanceRequest |
withFinalDBSnapshotIdentifier(java.lang.String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to
false . |
DeleteDBInstanceRequest |
withSkipFinalSnapshot(java.lang.Boolean skipFinalSnapshot)
Determines whether a final DB snapshot is created before the DB instance
is deleted.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String dBInstanceIdentifier
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
private java.lang.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.
false
.
Default: false
private java.lang.String finalDBSnapshotIdentifier
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
.
Constraints:
public DeleteDBInstanceRequest()
public DeleteDBInstanceRequest(java.lang.String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB instance identifier for the DB instance to be deleted. This
parameter isn't case-sensitive.
Constraints:
public void setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
dBInstanceIdentifier
- The DB instance identifier for the DB instance to be deleted. This
parameter isn't case-sensitive.
Constraints:
public java.lang.String getDBInstanceIdentifier()
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
Constraints:
public DeleteDBInstanceRequest withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
The DB instance identifier for the DB instance to be deleted. This parameter isn't case-sensitive.
Constraints:
dBInstanceIdentifier
- The DB instance identifier for the DB instance to be deleted. This
parameter isn't case-sensitive.
Constraints:
public void setSkipFinalSnapshot(java.lang.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.
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.
false
.
Default: false
public java.lang.Boolean getSkipFinalSnapshot()
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.
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.
false
.
Default: false
public DeleteDBInstanceRequest withSkipFinalSnapshot(java.lang.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.
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.
false
.
Default: false
public java.lang.Boolean isSkipFinalSnapshot()
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.
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.
false
.
Default: false
public void setFinalDBSnapshotIdentifier(java.lang.String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
.
Constraints:
finalDBSnapshotIdentifier
- The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
. Constraints:
public java.lang.String getFinalDBSnapshotIdentifier()
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
.
Constraints:
false
. Constraints:
public DeleteDBInstanceRequest withFinalDBSnapshotIdentifier(java.lang.String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
.
Constraints:
finalDBSnapshotIdentifier
- The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
. Constraints:
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteDBInstanceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()