Interface CreateVolumeResponse.Builder

  • Method Details

    • volume

      Returned after a successful CreateVolume API operation, describing the volume just created.

      Parameters:
      volume - Returned after a successful CreateVolume API operation, describing the volume just created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • volume

      Returned after a successful CreateVolume API operation, describing the volume just created.

      This is a convenience method that creates an instance of the Volume.Builder avoiding the need to create one manually via Volume.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to volume(Volume).

      Parameters:
      volume - a consumer that will call methods on Volume.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: