Class CreateSnapshotRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticache.model.CreateSnapshotRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateSnapshot action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateSnapshotRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSnapshotRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetCacheClusterId()The identifier of an existing cache cluster.StringgetSnapshotName()A name for the snapshot being created.inthashCode()voidsetCacheClusterId(String cacheClusterId)The identifier of an existing cache cluster.voidsetSnapshotName(String snapshotName)A name for the snapshot being created.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateSnapshotRequestwithCacheClusterId(String cacheClusterId)The identifier of an existing cache cluster.CreateSnapshotRequestwithSnapshotName(String snapshotName)A name for the snapshot being created.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setCacheClusterId
public void setCacheClusterId(String cacheClusterId)
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
- Parameters:
cacheClusterId- The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
-
getCacheClusterId
public String getCacheClusterId()
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
- Returns:
- The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
-
withCacheClusterId
public CreateSnapshotRequest withCacheClusterId(String cacheClusterId)
The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.
- Parameters:
cacheClusterId- The identifier of an existing cache cluster. The snapshot will be created from this cache cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotName
public void setSnapshotName(String snapshotName)
A name for the snapshot being created.
- Parameters:
snapshotName- A name for the snapshot being created.
-
getSnapshotName
public String getSnapshotName()
A name for the snapshot being created.
- Returns:
- A name for the snapshot being created.
-
withSnapshotName
public CreateSnapshotRequest withSnapshotName(String snapshotName)
A name for the snapshot being created.
- Parameters:
snapshotName- A name for the snapshot being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateSnapshotRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-