@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreVolumeFromSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RestoreVolumeFromSnapshotRequest() |
Modifier and Type | Method and Description |
---|---|
RestoreVolumeFromSnapshotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken() |
List<String> |
getOptions()
The settings used when restoring the specified volume from snapshot.
|
String |
getSnapshotId()
The ID of the source snapshot.
|
String |
getVolumeId()
The ID of the volume that you are restoring.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken) |
void |
setOptions(Collection<String> options)
The settings used when restoring the specified volume from snapshot.
|
void |
setSnapshotId(String snapshotId)
The ID of the source snapshot.
|
void |
setVolumeId(String volumeId)
The ID of the volume that you are restoring.
|
String |
toString()
Returns a string representation of this object.
|
RestoreVolumeFromSnapshotRequest |
withClientRequestToken(String clientRequestToken) |
RestoreVolumeFromSnapshotRequest |
withOptions(Collection<String> options)
The settings used when restoring the specified volume from snapshot.
|
RestoreVolumeFromSnapshotRequest |
withOptions(RestoreOpenZFSVolumeOption... options)
The settings used when restoring the specified volume from snapshot.
|
RestoreVolumeFromSnapshotRequest |
withOptions(String... options)
The settings used when restoring the specified volume from snapshot.
|
RestoreVolumeFromSnapshotRequest |
withSnapshotId(String snapshotId)
The ID of the source snapshot.
|
RestoreVolumeFromSnapshotRequest |
withVolumeId(String volumeId)
The ID of the volume that you are restoring.
|
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 setClientRequestToken(String clientRequestToken)
clientRequestToken
- public String getClientRequestToken()
public RestoreVolumeFromSnapshotRequest withClientRequestToken(String clientRequestToken)
clientRequestToken
- public void setVolumeId(String volumeId)
The ID of the volume that you are restoring.
volumeId
- The ID of the volume that you are restoring.public String getVolumeId()
The ID of the volume that you are restoring.
public RestoreVolumeFromSnapshotRequest withVolumeId(String volumeId)
The ID of the volume that you are restoring.
volumeId
- The ID of the volume that you are restoring.public void setSnapshotId(String snapshotId)
The ID of the source snapshot. Specifies the snapshot that you are restoring from.
snapshotId
- The ID of the source snapshot. Specifies the snapshot that you are restoring from.public String getSnapshotId()
The ID of the source snapshot. Specifies the snapshot that you are restoring from.
public RestoreVolumeFromSnapshotRequest withSnapshotId(String snapshotId)
The ID of the source snapshot. Specifies the snapshot that you are restoring from.
snapshotId
- The ID of the source snapshot. Specifies the snapshot that you are restoring from.public List<String> getOptions()
The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If
there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot
fails.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the
specified snapshot. If there are intermediate snapshots and this option isn't used,
RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate
snapshots. If there are any dependent clone volumes and this option isn't used,
RestoreVolumeFromSnapshot
fails.
RestoreOpenZFSVolumeOption
public void setOptions(Collection<String> options)
The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If
there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot
fails.
options
- The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used,
RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate
snapshots. If there are any dependent clone volumes and this option isn't used,
RestoreVolumeFromSnapshot
fails.
RestoreOpenZFSVolumeOption
public RestoreVolumeFromSnapshotRequest withOptions(String... options)
The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If
there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot
fails.
NOTE: This method appends the values to the existing list (if any). Use
setOptions(java.util.Collection)
or withOptions(java.util.Collection)
if you want to override
the existing values.
options
- The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used,
RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate
snapshots. If there are any dependent clone volumes and this option isn't used,
RestoreVolumeFromSnapshot
fails.
RestoreOpenZFSVolumeOption
public RestoreVolumeFromSnapshotRequest withOptions(Collection<String> options)
The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If
there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot
fails.
options
- The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used,
RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate
snapshots. If there are any dependent clone volumes and this option isn't used,
RestoreVolumeFromSnapshot
fails.
RestoreOpenZFSVolumeOption
public RestoreVolumeFromSnapshotRequest withOptions(RestoreOpenZFSVolumeOption... options)
The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used, RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate snapshots. If
there are any dependent clone volumes and this option isn't used, RestoreVolumeFromSnapshot
fails.
options
- The settings used when restoring the specified volume from snapshot.
DELETE_INTERMEDIATE_SNAPSHOTS
- Deletes snapshots between the current state and the specified
snapshot. If there are intermediate snapshots and this option isn't used,
RestoreVolumeFromSnapshot
fails.
DELETE_CLONED_VOLUMES
- Deletes any dependent clone volumes created from intermediate
snapshots. If there are any dependent clone volumes and this option isn't used,
RestoreVolumeFromSnapshot
fails.
RestoreOpenZFSVolumeOption
public String toString()
toString
in class Object
Object.toString()
public RestoreVolumeFromSnapshotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()