|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.DeleteDBInstanceRequest
public class DeleteDBInstanceRequest
Container for the parameters to the DeleteDBInstance operation
.
The DeleteDBInstance API deletes a previously provisioned RDS instance. A successful response from the web service indicates the request was received correctly. If a final DBSnapshot is requested the status of the RDS instance will be "deleting" until the DBSnapshot is created. DescribeDBInstance is used to monitor the status of this operation. This cannot be canceled or reverted once submitted.
AmazonRDS.deleteDBInstance(DeleteDBInstanceRequest)
Constructor Summary | |
---|---|
DeleteDBInstanceRequest()
Default constructor for a new DeleteDBInstanceRequest object. |
|
DeleteDBInstanceRequest(String dBInstanceIdentifier)
Constructs a new DeleteDBInstanceRequest object. |
Method Summary | |
---|---|
String |
getDBInstanceIdentifier()
The DB Instance identifier for the DB Instance to be deleted. |
String |
getFinalDBSnapshotIdentifier()
Determines whether a final DB Snapshot is created before the DB Instance is deleted. |
Boolean |
getSkipFinalSnapshot()
|
Boolean |
isSkipFinalSnapshot()
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier for the DB Instance to be deleted. |
void |
setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
Determines whether a final DB Snapshot is created before the DB Instance is deleted. |
void |
setSkipFinalSnapshot(Boolean skipFinalSnapshot)
|
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 |
withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
Determines whether a final DB Snapshot is created before the DB Instance is deleted. |
DeleteDBInstanceRequest |
withSkipFinalSnapshot(Boolean skipFinalSnapshot)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteDBInstanceRequest()
public DeleteDBInstanceRequest(String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB Instance identifier for the DB
Instance to be deleted. This parameter isn't case sensitive.Method Detail |
---|
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB Instance identifier for the DB Instance to be deleted. This
parameter isn't case sensitive.public DeleteDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The DB Instance identifier for the DB Instance to be deleted. This
parameter isn't case sensitive.
public Boolean isSkipFinalSnapshot()
public void setSkipFinalSnapshot(Boolean skipFinalSnapshot)
skipFinalSnapshot
- public DeleteDBInstanceRequest withSkipFinalSnapshot(Boolean skipFinalSnapshot)
Returns a reference to this object so that method calls can be chained together.
skipFinalSnapshot
-
public Boolean getSkipFinalSnapshot()
public String getFinalDBSnapshotIdentifier()
public void setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
finalDBSnapshotIdentifier
- Determines whether a final DB Snapshot is created before the DB
Instance is deleted. If true, no DBSnapshot is created. If
false, a DB Snapshot is created before the DB Instance is
deleted.public DeleteDBInstanceRequest withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
finalDBSnapshotIdentifier
- Determines whether a final DB Snapshot is created before the DB
Instance is deleted. If true, no DBSnapshot is created. If
false, a DB Snapshot is created before the DB Instance is
deleted.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |