Interface DetachVolumeResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>, Ec2Response.Builder, SdkBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
DetachVolumeResponse

public static interface DetachVolumeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>
  • Method Details

    • attachTime

      DetachVolumeResponse.Builder attachTime(Instant attachTime)

      The time stamp when the attachment initiated.

      Parameters:
      attachTime - The time stamp when the attachment initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • device

      The device name.

      Parameters:
      device - The device name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      DetachVolumeResponse.Builder instanceId(String instanceId)

      The ID of the instance.

      Parameters:
      instanceId - The ID of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The attachment state of the volume.

      Parameters:
      state - The attachment state of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The attachment state of the volume.

      Parameters:
      state - The attachment state of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • volumeId

      The ID of the volume.

      Parameters:
      volumeId - The ID of the volume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteOnTermination

      DetachVolumeResponse.Builder deleteOnTermination(Boolean deleteOnTermination)

      Indicates whether the EBS volume is deleted on instance termination.

      Parameters:
      deleteOnTermination - Indicates whether the EBS volume is deleted on instance termination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.