@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotRequest |
clone() |
boolean |
equals(Object obj) |
String |
getNamespaceName()
The namespace to create a snapshot for.
|
Integer |
getRetentionPeriod()
How long to retain the created snapshot.
|
String |
getSnapshotName()
The name of the snapshot.
|
int |
hashCode() |
void |
setNamespaceName(String namespaceName)
The namespace to create a snapshot for.
|
void |
setRetentionPeriod(Integer retentionPeriod)
How long to retain the created snapshot.
|
void |
setSnapshotName(String snapshotName)
The name of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
CreateSnapshotRequest |
withNamespaceName(String namespaceName)
The namespace to create a snapshot for.
|
CreateSnapshotRequest |
withRetentionPeriod(Integer retentionPeriod)
How long to retain the created snapshot.
|
CreateSnapshotRequest |
withSnapshotName(String snapshotName)
The name of the snapshot.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setNamespaceName(String namespaceName)
The namespace to create a snapshot for.
namespaceName - The namespace to create a snapshot for.public String getNamespaceName()
The namespace to create a snapshot for.
public CreateSnapshotRequest withNamespaceName(String namespaceName)
The namespace to create a snapshot for.
namespaceName - The namespace to create a snapshot for.public void setRetentionPeriod(Integer retentionPeriod)
How long to retain the created snapshot.
retentionPeriod - How long to retain the created snapshot.public Integer getRetentionPeriod()
How long to retain the created snapshot.
public CreateSnapshotRequest withRetentionPeriod(Integer retentionPeriod)
How long to retain the created snapshot.
retentionPeriod - How long to retain the created snapshot.public void setSnapshotName(String snapshotName)
The name of the snapshot.
snapshotName - The name of the snapshot.public String getSnapshotName()
The name of the snapshot.
public CreateSnapshotRequest withSnapshotName(String snapshotName)
The name of the snapshot.
snapshotName - The name of the snapshot.public String toString()
toString in class ObjectObject.toString()public CreateSnapshotRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.