@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreSnapshotFromRecycleBinRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RestoreSnapshotFromRecycleBinRequest>
NOOP
Constructor and Description |
---|
RestoreSnapshotFromRecycleBinRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreSnapshotFromRecycleBinRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<RestoreSnapshotFromRecycleBinRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getSnapshotId()
The ID of the snapshot to restore.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot to restore.
|
String |
toString()
Returns a string representation of this object.
|
RestoreSnapshotFromRecycleBinRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot to restore.
|
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 RestoreSnapshotFromRecycleBinRequest()
public void setSnapshotId(String snapshotId)
The ID of the snapshot to restore.
snapshotId
- The ID of the snapshot to restore.public String getSnapshotId()
The ID of the snapshot to restore.
public RestoreSnapshotFromRecycleBinRequest withSnapshotId(String snapshotId)
The ID of the snapshot to restore.
snapshotId
- The ID of the snapshot to restore.public Request<RestoreSnapshotFromRecycleBinRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<RestoreSnapshotFromRecycleBinRequest>
public String toString()
toString
in class Object
Object.toString()
public RestoreSnapshotFromRecycleBinRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()