@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateClusterSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateClusterSnapshotRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateClusterSnapshotRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateClusterSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClusterArn()
The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
|
String |
getSnapshotName()
The name of the Elastic DocumentDB snapshot.
|
Map<String,String> |
getTags()
The tags to be assigned to the new Elastic DocumentDB snapshot.
|
int |
hashCode() |
void |
setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
|
void |
setSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
|
void |
setTags(Map<String,String> tags)
The tags to be assigned to the new Elastic DocumentDB snapshot.
|
String |
toString()
Returns a string representation of this object.
|
CreateClusterSnapshotRequest |
withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
|
CreateClusterSnapshotRequest |
withSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
|
CreateClusterSnapshotRequest |
withTags(Map<String,String> tags)
The tags to be assigned to the new Elastic DocumentDB snapshot.
|
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 setClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
clusterArn
- The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.public String getClusterArn()
The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
public CreateClusterSnapshotRequest withClusterArn(String clusterArn)
The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.
clusterArn
- The arn of the Elastic DocumentDB cluster that the snapshot will be taken from.public void setSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
snapshotName
- The name of the Elastic DocumentDB snapshot.public String getSnapshotName()
The name of the Elastic DocumentDB snapshot.
public CreateClusterSnapshotRequest withSnapshotName(String snapshotName)
The name of the Elastic DocumentDB snapshot.
snapshotName
- The name of the Elastic DocumentDB snapshot.public Map<String,String> getTags()
The tags to be assigned to the new Elastic DocumentDB snapshot.
public void setTags(Map<String,String> tags)
The tags to be assigned to the new Elastic DocumentDB snapshot.
tags
- The tags to be assigned to the new Elastic DocumentDB snapshot.public CreateClusterSnapshotRequest withTags(Map<String,String> tags)
The tags to be assigned to the new Elastic DocumentDB snapshot.
tags
- The tags to be assigned to the new Elastic DocumentDB snapshot.public CreateClusterSnapshotRequest addTagsEntry(String key, String value)
public CreateClusterSnapshotRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateClusterSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()