public class CreateDBSnapshotRequest extends AmazonWebServiceRequest implements Serializable
CreateDBSnapshot operation.
Creates a DBSnapshot. The source DBInstance must be in "available" state.
| Constructor and Description |
|---|
CreateDBSnapshotRequest()
Default constructor for a new CreateDBSnapshotRequest object.
|
CreateDBSnapshotRequest(String dBSnapshotIdentifier,
String dBInstanceIdentifier)
Constructs a new CreateDBSnapshotRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDBInstanceIdentifier()
The DB Instance identifier.
|
String |
getDBSnapshotIdentifier()
The identifier for the DB Snapshot.
|
int |
hashCode() |
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic CreateDBSnapshotRequest()
public CreateDBSnapshotRequest(String dBSnapshotIdentifier, String dBInstanceIdentifier)
dBSnapshotIdentifier - The identifier for the DB Snapshot.
Constraints:
Example:
my-snapshot-id
dBInstanceIdentifier - The DB Instance identifier. This is the
unique key that identifies a DB Instance. This parameter isn't case
sensitive. Constraints:
public String getDBSnapshotIdentifier()
Constraints:
Example: my-snapshot-id
Constraints:
Example: my-snapshot-id
public void setDBSnapshotIdentifier(String dBSnapshotIdentifier)
Constraints:
Example: my-snapshot-id
dBSnapshotIdentifier - The identifier for the DB Snapshot. Constraints:
Example: my-snapshot-id
public CreateDBSnapshotRequest withDBSnapshotIdentifier(String dBSnapshotIdentifier)
Constraints:
Example: my-snapshot-id
Returns a reference to this object so that method calls can be chained together.
dBSnapshotIdentifier - The identifier for the DB Snapshot. Constraints:
Example: my-snapshot-id
public String getDBInstanceIdentifier()
Constraints:
Constraints:
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
dBInstanceIdentifier - The DB Instance identifier. This is the unique key that identifies a
DB Instance. This parameter isn't case sensitive. Constraints:
public CreateDBSnapshotRequest withDBInstanceIdentifier(String dBInstanceIdentifier)
Constraints:
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. Constraints:
public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.