|
|||||||
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.CreateDBSnapshotRequest
public class CreateDBSnapshotRequest
Container for the parameters to the CreateDBSnapshot operation
.
This API is used to create a DBSnapshot. The source DBInstance must be in "available" state.
AmazonRDS.createDBSnapshot(CreateDBSnapshotRequest)
Constructor Summary | |
---|---|
CreateDBSnapshotRequest()
Default constructor for a new CreateDBSnapshotRequest object. |
|
CreateDBSnapshotRequest(String dBSnapshotIdentifier,
String dBInstanceIdentifier)
Constructs a new CreateDBSnapshotRequest object. |
Method Summary | |
---|---|
String |
getDBInstanceIdentifier()
The DB Instance identifier. |
String |
getDBSnapshotIdentifier()
The identifier for the DB Snapshot. |
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier. |
void |
setDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier for the DB Snapshot. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateDBSnapshotRequest |
withDBInstanceIdentifier(String dBInstanceIdentifier)
The DB Instance identifier. |
CreateDBSnapshotRequest |
withDBSnapshotIdentifier(String dBSnapshotIdentifier)
The identifier for the DB Snapshot. |
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 CreateDBSnapshotRequest()
public CreateDBSnapshotRequest(String dBSnapshotIdentifier, String dBInstanceIdentifier)
dBSnapshotIdentifier
- The identifier for the DB Snapshot.dBInstanceIdentifier
- The DB Instance identifier. This is the
unique key that identifies a DB Instance. This parameter isn't case
sensitive.Method Detail |
---|
public String getDBSnapshotIdentifier()
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
dBSnapshotIdentifier
- The identifier for the DB Snapshot.public CreateDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier
- The identifier for the DB Snapshot.
public String getDBInstanceIdentifier()
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
dBInstanceIdentifier
- The DB Instance identifier. This is the unique key that identifies a
DB Instance. This parameter isn't case sensitive.public CreateDBSnapshotRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Returns a reference to this object so that method calls can be chained together.
dBInstanceIdentifier
- The DB Instance identifier. This is the unique key that identifies a
DB Instance. This parameter isn't case sensitive.
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 |