@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a CreateSnapshot
operation.
NOOP
Constructor and Description |
---|
CreateSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCacheClusterId()
The identifier of an existing cluster.
|
String |
getReplicationGroupId()
The identifier of an existing replication group.
|
String |
getSnapshotName()
A name for the snapshot being created.
|
int |
hashCode() |
void |
setCacheClusterId(String cacheClusterId)
The identifier of an existing cluster.
|
void |
setReplicationGroupId(String replicationGroupId)
The identifier of an existing replication group.
|
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 cluster.
|
CreateSnapshotRequest |
withReplicationGroupId(String replicationGroupId)
The identifier of an existing replication group.
|
CreateSnapshotRequest |
withSnapshotName(String snapshotName)
A name for the snapshot being created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReplicationGroupId(String replicationGroupId)
The identifier of an existing replication group. The snapshot is created from this replication group.
replicationGroupId
- The identifier of an existing replication group. The snapshot is created from this replication group.public String getReplicationGroupId()
The identifier of an existing replication group. The snapshot is created from this replication group.
public CreateSnapshotRequest withReplicationGroupId(String replicationGroupId)
The identifier of an existing replication group. The snapshot is created from this replication group.
replicationGroupId
- The identifier of an existing replication group. The snapshot is created from this replication group.public void setCacheClusterId(String cacheClusterId)
The identifier of an existing cluster. The snapshot is created from this cluster.
cacheClusterId
- The identifier of an existing cluster. The snapshot is created from this cluster.public String getCacheClusterId()
The identifier of an existing cluster. The snapshot is created from this cluster.
public CreateSnapshotRequest withCacheClusterId(String cacheClusterId)
The identifier of an existing cluster. The snapshot is created from this cluster.
cacheClusterId
- The identifier of an existing cluster. The snapshot is created from this 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 Object
Object.toString()
public CreateSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.