@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreFromSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
An object representing the inputs for the RestoreFromSnapshot operation.
NOOP| Constructor and Description |
|---|
RestoreFromSnapshotRequest() |
| Modifier and Type | Method and Description |
|---|---|
RestoreFromSnapshotRequest |
clone() |
boolean |
equals(Object obj) |
String |
getSnapshotId()
The identifier of the snapshot to restore from.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The identifier of the snapshot to restore from.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RestoreFromSnapshotRequest |
withSnapshotId(String snapshotId)
The identifier of the snapshot to restore from.
|
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 setSnapshotId(String snapshotId)
The identifier of the snapshot to restore from.
snapshotId - The identifier of the snapshot to restore from.public String getSnapshotId()
The identifier of the snapshot to restore from.
public RestoreFromSnapshotRequest withSnapshotId(String snapshotId)
The identifier of the snapshot to restore from.
snapshotId - The identifier of the snapshot to restore from.public String toString()
toString in class ObjectObject.toString()public RestoreFromSnapshotRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.