Interface DetachVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DetachVolumeRequest.Builder,,DetachVolumeRequest> SdkBuilder<DetachVolumeRequest.Builder,,DetachVolumeRequest> SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
DetachVolumeRequest
public static interface DetachVolumeRequest.Builder
extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<DetachVolumeRequest.Builder,DetachVolumeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionforceDetach(Boolean forceDetach) Set totrueto 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
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- Parameters:
forceDetach- Set totrueto 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-