Cloneable
, ReadLimitInfo
, ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
@Generated("software.amazon.awssdk:codegen") public class DetachVolumeRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
Contains the parameters for DetachVolume.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DetachVolumeRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static DetachVolumeRequest.Builder |
builder() |
|
String |
device() |
The device name.
|
boolean |
equals(Object obj) |
|
Boolean |
force() |
Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an
instance, unmounting the volume, and detaching normally).
|
int |
hashCode() |
|
String |
instanceId() |
The ID of the instance.
|
static Class<? extends DetachVolumeRequest.Builder> |
serializableBuilderClass() |
|
DetachVolumeRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
volumeId() |
The ID of the volume.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String device()
The device name.
public Boolean force()
Forces detachment if the previous detachment attempt did not occur cleanly (for example, logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance won't have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures.
public String instanceId()
The ID of the instance.
public String volumeId()
The ID of the volume.
public DetachVolumeRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
public static DetachVolumeRequest.Builder builder()
public static Class<? extends DetachVolumeRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.