public class CopyDBSnapshotRequest extends AmazonWebServiceRequest implements Serializable
CopyDBSnapshot operation
.
Copies the specified DBSnapshot. The source DBSnapshot must be in the "available" state.
Constructor and Description |
---|
CopyDBSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSourceDBSnapshotIdentifier()
The identifier for the source DB snapshot.
|
String |
getTargetDBSnapshotIdentifier()
The identifier for the copied snapshot.
|
int |
hashCode() |
void |
setSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The identifier for the source DB snapshot.
|
void |
setTargetDBSnapshotIdentifier(String targetDBSnapshotIdentifier)
The identifier for the copied snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopyDBSnapshotRequest |
withSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
The identifier for the source DB snapshot.
|
CopyDBSnapshotRequest |
withTargetDBSnapshotIdentifier(String targetDBSnapshotIdentifier)
The identifier for the copied snapshot.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getSourceDBSnapshotIdentifier()
Constraints:
Example:
rds:mydb-2012-04-02-00-01
Constraints:
Example:
rds:mydb-2012-04-02-00-01
public void setSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
Constraints:
Example:
rds:mydb-2012-04-02-00-01
sourceDBSnapshotIdentifier
- The identifier for the source DB snapshot. Constraints:
Example:
rds:mydb-2012-04-02-00-01
public CopyDBSnapshotRequest withSourceDBSnapshotIdentifier(String sourceDBSnapshotIdentifier)
Constraints:
Example:
rds:mydb-2012-04-02-00-01
Returns a reference to this object so that method calls can be chained together.
sourceDBSnapshotIdentifier
- The identifier for the source DB snapshot. Constraints:
Example:
rds:mydb-2012-04-02-00-01
public String getTargetDBSnapshotIdentifier()
Constraints:
Example: my-db-snapshot
Constraints:
Example: my-db-snapshot
public void setTargetDBSnapshotIdentifier(String targetDBSnapshotIdentifier)
Constraints:
Example: my-db-snapshot
targetDBSnapshotIdentifier
- The identifier for the copied snapshot. Constraints:
Example: my-db-snapshot
public CopyDBSnapshotRequest withTargetDBSnapshotIdentifier(String targetDBSnapshotIdentifier)
Constraints:
Example: my-db-snapshot
Returns a reference to this object so that method calls can be chained together.
targetDBSnapshotIdentifier
- The identifier for the copied snapshot. Constraints:
Example: my-db-snapshot
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.