@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 final String volumeARN()
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
public final 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.
Valid Values: true | false
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.
Valid Values: true | false
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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.