Interface DeviceDescription.Builder

    • Method Detail

      • arn

        DeviceDescription.Builder arn​(String 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

        DeviceDescription.Builder enabled​(Boolean 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

        DeviceDescription.Builder type​(String 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

        DeviceDescription.Builder tags​(Map<String,​String> 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.