Interface Device.Builder

    • Method Detail

      • brand

        Device.Builder brand​(String brand)

        The device's maker.

        Parameters:
        brand - The device's maker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceBrand, DeviceBrand
      • brand

        Device.Builder brand​(DeviceBrand brand)

        The device's maker.

        Parameters:
        brand - The device's maker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceBrand, DeviceBrand
      • createdTime

        Device.Builder createdTime​(Instant createdTime)

        When the device was created.

        Parameters:
        createdTime - When the device was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentSoftware

        Device.Builder currentSoftware​(String currentSoftware)

        A device's current software.

        Parameters:
        currentSoftware - A device's current software.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Device.Builder description​(String description)

        A description for the device.

        Parameters:
        description - A description for the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deviceAggregatedStatus

        Device.Builder deviceAggregatedStatus​(String deviceAggregatedStatus)

        A device's aggregated status. Including the device's connection status, provisioning status, and lease status.

        Parameters:
        deviceAggregatedStatus - A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceAggregatedStatus, DeviceAggregatedStatus
      • deviceAggregatedStatus

        Device.Builder deviceAggregatedStatus​(DeviceAggregatedStatus deviceAggregatedStatus)

        A device's aggregated status. Including the device's connection status, provisioning status, and lease status.

        Parameters:
        deviceAggregatedStatus - A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceAggregatedStatus, DeviceAggregatedStatus
      • deviceId

        Device.Builder deviceId​(String deviceId)

        The device's ID.

        Parameters:
        deviceId - The device's ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        Device.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        When the device was updated.

        Parameters:
        lastUpdatedTime - When the device was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • latestDeviceJob

        Device.Builder latestDeviceJob​(LatestDeviceJob latestDeviceJob)

        A device's latest job. Includes the target image version, and the update job status.

        Parameters:
        latestDeviceJob - A device's latest job. Includes the target image version, and the update job status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • leaseExpirationTime

        Device.Builder leaseExpirationTime​(Instant leaseExpirationTime)

        The device's lease expiration time.

        Parameters:
        leaseExpirationTime - The device's lease expiration time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Device.Builder name​(String name)

        The device's name.

        Parameters:
        name - The device's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • provisioningStatus

        Device.Builder provisioningStatus​(String provisioningStatus)

        The device's provisioning status.

        Parameters:
        provisioningStatus - The device's provisioning status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceStatus, DeviceStatus
      • provisioningStatus

        Device.Builder provisioningStatus​(DeviceStatus provisioningStatus)

        The device's provisioning status.

        Parameters:
        provisioningStatus - The device's provisioning status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceStatus, DeviceStatus
      • tags

        Device.Builder tags​(Map<String,​String> tags)

        The device's tags.

        Parameters:
        tags - The device's tags.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Device.Builder type​(String type)

        The device's type.

        Parameters:
        type - The device's type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceType, DeviceType
      • type

        Device.Builder type​(DeviceType type)

        The device's type.

        Parameters:
        type - The device's type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceType, DeviceType