Interface DetachVolumeRequest.Builder

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