@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
RestoreFromSnapshotRequest |
withSnapshotId(String snapshotId)
The identifier of the snapshot to restore from.
|
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 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 Object
Object.toString()
public RestoreFromSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()