Interface DetachVolumeRequest.Builder

  • Method Details

    • 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 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

      Parameters:
      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

      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.