Interface GetDeviceResponse.Builder

  • Method Details

    • device

      Details of the requested device. Includes device information, last-accessed and created dates, and the device key.

      Parameters:
      device - Details of the requested device. Includes device information, last-accessed and created dates, and the device key.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • device

      Details of the requested device. Includes device information, last-accessed and created dates, and the device key.

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

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

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