Class DetachVolumeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest
-
- software.amazon.awssdk.services.storagegateway.model.DetachVolumeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
@Generated("software.amazon.awssdk:codegen") public final class DetachVolumeRequest extends StorageGatewayRequest implements ToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
AttachVolumeInput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetachVolumeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DetachVolumeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanforceDetach()Set totrueto forcibly remove the iSCSI connection of the target volume and detach the volume.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DetachVolumeRequest.Builder>serializableBuilderClass()DetachVolumeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvolumeARN()The Amazon Resource Name (ARN) of the volume to detach from the gateway.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
volumeARN
public final String volumeARN()
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
- Returns:
- The Amazon Resource Name (ARN) of the volume to detach from the gateway.
-
forceDetach
public final Boolean forceDetach()
Set to
trueto forcibly remove the iSCSI connection of the target volume and detach the volume. The default isfalse. If this value is set tofalse, you must manually disconnect the iSCSI connection from the target volume.Valid Values:
true|false- Returns:
- Set to
trueto forcibly remove the iSCSI connection of the target volume and detach the volume. The default isfalse. If this value is set tofalse, you must manually disconnect the iSCSI connection from the target volume.Valid Values:
true|false
-
toBuilder
public DetachVolumeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>- Specified by:
toBuilderin classStorageGatewayRequest
-
builder
public static DetachVolumeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DetachVolumeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-