|
||||||||||
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.CreateSnapshotRequest
public class CreateSnapshotRequest
Container for the parameters to the CreateSnapshot operation
.
The CreateSnapshot operation creates a copy of an entire cache cluster at a specific moment in time.
AmazonElastiCache.createSnapshot(CreateSnapshotRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateSnapshotRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCacheClusterId()
The identifier of an existing cache cluster. |
String |
getSnapshotName()
A name for the snapshot being created. |
int |
hashCode()
|
void |
setCacheClusterId(String cacheClusterId)
The identifier of an existing cache cluster. |
void |
setSnapshotName(String snapshotName)
A name for the snapshot being created. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateSnapshotRequest |
withCacheClusterId(String cacheClusterId)
The identifier of an existing cache cluster. |
CreateSnapshotRequest |
withSnapshotName(String snapshotName)
A name for the snapshot being created. |
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 CreateSnapshotRequest()
Method Detail |
---|
public String getCacheClusterId()
public void setCacheClusterId(String cacheClusterId)
cacheClusterId
- The identifier of an existing cache cluster. The snapshot will be
created from this cache cluster.public CreateSnapshotRequest withCacheClusterId(String cacheClusterId)
Returns a reference to this object so that method calls can be chained together.
cacheClusterId
- The identifier of an existing cache cluster. The snapshot will be
created from this cache cluster.
public String getSnapshotName()
public void setSnapshotName(String snapshotName)
snapshotName
- A name for the snapshot being created.public CreateSnapshotRequest withSnapshotName(String snapshotName)
Returns a reference to this object so that method calls can be chained together.
snapshotName
- A name for the snapshot being created.
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 |