Interface DetachVolumeResponse.Builder

  • Method Details

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

      DetachVolumeResponse.Builder associatedResource(String associatedResource)

      The ARN of the Amazon Web Services-managed resource to which the volume is attached.

      Parameters:
      associatedResource - The ARN of the Amazon Web Services-managed resource to which the volume is attached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceOwningService

      DetachVolumeResponse.Builder instanceOwningService(String instanceOwningService)

      The service principal of the Amazon Web Services service that owns the underlying resource to which the volume is attached.

      This parameter is returned only for volumes that are attached to Amazon Web Services-managed resources.

      Parameters:
      instanceOwningService - The service principal of the Amazon Web Services service that owns the underlying resource to which the volume is attached.

      This parameter is returned only for volumes that are attached to Amazon Web Services-managed resources.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • instanceId

      DetachVolumeResponse.Builder instanceId(String instanceId)

      The ID of the instance.

      If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

      Parameters:
      instanceId - The ID of the instance.

      If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • device

      The device name.

      If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

      Parameters:
      device - The device name.

      If the volume is attached to an Amazon Web Services-managed resource, this parameter returns null.

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