Interface DetachVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DetachVolumeRequest.Builder,
,DetachVolumeRequest> SdkBuilder<DetachVolumeRequest.Builder,
,DetachVolumeRequest> SdkPojo
,SdkRequest.Builder
,StorageGatewayRequest.Builder
- Enclosing class:
DetachVolumeRequest
@Mutable
@NotThreadSafe
public static interface DetachVolumeRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionforceDetach
(Boolean forceDetach) Set totrue
to forcibly remove the iSCSI connection of the target volume and detach the volume.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the volume to detach from the gateway.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
Method Details
-
volumeARN
The Amazon Resource Name (ARN) of the volume to detach from the gateway.
- Parameters:
volumeARN
- The Amazon Resource Name (ARN) of the volume to detach from the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forceDetach
Set to
true
to 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
- Parameters:
forceDetach
- Set totrue
to 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:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DetachVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DetachVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-