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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The identifier of an existing cache cluster.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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheClusterId
(String cacheClusterId) The identifier of an existing cache cluster.withSnapshotName
(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
-
Constructor Details
-
CreateSnapshotRequest
public CreateSnapshotRequest()
-
-
Method Details
-
setCacheClusterId
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
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
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
A name for the snapshot being created.
- Parameters:
snapshotName
- A name for the snapshot being created.
-
getSnapshotName
A name for the snapshot being created.
- Returns:
- A name for the snapshot being created.
-
withSnapshotName
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-