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()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.