Interface DeviceDescription.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeviceDescription.Builder,DeviceDescription>, SdkBuilder<DeviceDescription.Builder,DeviceDescription>, SdkPojo
Enclosing class:
DeviceDescription

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

    • arn

      The ARN of the device.

      Parameters:
      arn - The ARN of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      DeviceDescription.Builder attributes(Map<String,String> attributes)

      An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.

      Parameters:
      attributes - An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceId

      DeviceDescription.Builder deviceId(String deviceId)

      The unique identifier of the device.

      Parameters:
      deviceId - The unique identifier of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      A Boolean value indicating whether or not the device is enabled.

      Parameters:
      enabled - A Boolean value indicating whether or not the device is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remainingLife

      DeviceDescription.Builder remainingLife(Double remainingLife)

      A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.

      Parameters:
      remainingLife - A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the device, such as "button".

      Parameters:
      type - The type of the device, such as "button".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags currently associated with the AWS IoT 1-Click device.

      Parameters:
      tags - The tags currently associated with the AWS IoT 1-Click device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.