|
Did this page help you?Yes No Tell us about it... |
||||||
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 action deletes a previously provisioned DB instance. A successful response from the web service indicates the request was received correctly. When you delete a DB instance, all automated backups for that instance are deleted and cannot be recovered. Manual DB Snapshots of the DB instance to be deleted are not deleted.
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)
,
Serialized FormConstructor Summary | |
---|---|
DeleteDBInstanceRequest()
Default constructor for a new DeleteDBInstanceRequest object. |
|
DeleteDBInstanceRequest(String dBInstanceIdentifier)
Constructs a new DeleteDBInstanceRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDBInstanceIdentifier()
The DB Instance identifier for the DB Instance to be deleted. |
String |
getFinalDBSnapshotIdentifier()
The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false . |
Boolean |
getSkipFinalSnapshot()
Determines whether a final DB Snapshot is created before the DB Instance is deleted. |
int |
hashCode()
|
Boolean |
isSkipFinalSnapshot()
Determines 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 |
setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false . |
void |
setSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines 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 |
withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
The DBSnapshotIdentifier of the new DBSnapshot created when SkipFinalSnapshot is set to false . |
DeleteDBInstanceRequest |
withSkipFinalSnapshot(Boolean skipFinalSnapshot)
Determines whether a final DB Snapshot is created before the DB Instance is deleted. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, 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.
Constraints:
Method Detail |
---|
public String getDBInstanceIdentifier()
Constraints:
Constraints:
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
dBInstanceIdentifier
- The DB Instance identifier for the DB Instance to be deleted. This
parameter isn't case sensitive. Constraints:
public DeleteDBInstanceRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
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. Constraints:
public Boolean isSkipFinalSnapshot()
true
is specified, no DBSnapshot
is created. If false is specified, a DB Snapshot is created before the
DB Instance is deleted. 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. false
.Default: false
public void setSkipFinalSnapshot(Boolean skipFinalSnapshot)
true
is specified, no DBSnapshot
is created. If false is specified, a DB Snapshot is created before the
DB Instance is deleted. 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. false
.Default: false
public DeleteDBInstanceRequest withSkipFinalSnapshot(Boolean skipFinalSnapshot)
true
is specified, no DBSnapshot
is created. If false is specified, a DB Snapshot is created before the
DB Instance is deleted. false
.Default: false
Returns a reference to this object so that method calls can be chained together.
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. false
.Default: false
public Boolean getSkipFinalSnapshot()
true
is specified, no DBSnapshot
is created. If false is specified, a DB Snapshot is created before the
DB Instance is deleted. 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. false
.Default: false
public String getFinalDBSnapshotIdentifier()
false
. Constraints:
false
. Constraints:
public void setFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
false
. Constraints:
finalDBSnapshotIdentifier
- The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
. Constraints:
public DeleteDBInstanceRequest withFinalDBSnapshotIdentifier(String finalDBSnapshotIdentifier)
false
. Constraints:
Returns a reference to this object so that method calls can be chained together.
finalDBSnapshotIdentifier
- The DBSnapshotIdentifier of the new DBSnapshot created when
SkipFinalSnapshot is set to false
. Constraints:
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |