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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetachVolumeRequest.BuilderforceDetach(Boolean forceDetach)Set totrueto forcibly remove the iSCSI connection of the target volume and detach the volume.DetachVolumeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DetachVolumeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DetachVolumeRequest.BuildervolumeARN(String volumeARN)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
-
-
-
Method Detail
-
volumeARN
DetachVolumeRequest.Builder volumeARN(String 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
DetachVolumeRequest.Builder forceDetach(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- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetachVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-