Interface GetDeviceResponse.Builder

  • Method Details

    • device

      An object that contains information about the requested device.

      Parameters:
      device - An object that contains information about the requested device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • device

      An object that contains information about the requested device.

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

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

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