|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticache.model.CopySnapshotRequest
public class CopySnapshotRequest
Container for the parameters to the CopySnapshot operation
.
The CopySnapshot operation makes a copy of an existing snapshot.
AmazonElastiCache.copySnapshot(CopySnapshotRequest)
,
Serialized FormConstructor Summary | |
---|---|
CopySnapshotRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getSourceSnapshotName()
The name of an existing snapshot from which to copy. |
String |
getTargetSnapshotName()
A name for the copied snapshot. |
int |
hashCode()
|
void |
setSourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to copy. |
void |
setTargetSnapshotName(String targetSnapshotName)
A name for the copied snapshot. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CopySnapshotRequest |
withSourceSnapshotName(String sourceSnapshotName)
The name of an existing snapshot from which to copy. |
CopySnapshotRequest |
withTargetSnapshotName(String targetSnapshotName)
A name for the copied snapshot. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CopySnapshotRequest()
Method Detail |
---|
public String getSourceSnapshotName()
public void setSourceSnapshotName(String sourceSnapshotName)
sourceSnapshotName
- The name of an existing snapshot from which to copy.public CopySnapshotRequest withSourceSnapshotName(String sourceSnapshotName)
Returns a reference to this object so that method calls can be chained together.
sourceSnapshotName
- The name of an existing snapshot from which to copy.
public String getTargetSnapshotName()
public void setTargetSnapshotName(String targetSnapshotName)
targetSnapshotName
- A name for the copied snapshot.public CopySnapshotRequest withTargetSnapshotName(String targetSnapshotName)
Returns a reference to this object so that method calls can be chained together.
targetSnapshotName
- A name for the copied snapshot.
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 |