@Generated(value="software.amazon.awssdk:codegen") public final class DetachVolumeRequest extends StorageGatewayRequest implements ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
AttachVolumeInput
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetachVolumeRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetachVolumeRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
forceDetach()
Set to
true to forcibly remove the iSCSI connection of the target volume and detach the volume. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetachVolumeRequest.Builder> |
serializableBuilderClass() |
DetachVolumeRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeARN()
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String volumeARN()
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
public Boolean forceDetach()
Set to true to forcibly remove the iSCSI connection of the target volume and detach the volume. The
default is false. If this value is set to false, you must manually disconnect the iSCSI
connection from the target volume.
true to forcibly remove the iSCSI connection of the target volume and detach the
volume. The default is false. If this value is set to false, you must manually
disconnect the iSCSI connection from the target volume.public DetachVolumeRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>toBuilder in class StorageGatewayRequestpublic static DetachVolumeRequest.Builder builder()
public static Class<? extends DetachVolumeRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.