public class CreateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateSnapshot action.
NOOP| Constructor and Description | 
|---|
| CreateSnapshotRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateSnapshotRequest | clone()Creates a shallow clone of this request. | 
| 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. | 
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setCacheClusterId(String cacheClusterId)
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
cacheClusterId - The identifier of an existing cache cluster. The snapshot will be
        created from this cache cluster.public String getCacheClusterId()
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
public CreateSnapshotRequest withCacheClusterId(String cacheClusterId)
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
cacheClusterId - The identifier of an existing cache cluster. The snapshot will be
        created from this cache cluster.public void setSnapshotName(String snapshotName)
A name for the snapshot being created.
snapshotName - A name for the snapshot being created.public String getSnapshotName()
A name for the snapshot being created.
public CreateSnapshotRequest withSnapshotName(String snapshotName)
A name for the snapshot being created.
snapshotName - A name for the snapshot being created.public String toString()
toString in class ObjectObject.toString()public CreateSnapshotRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.