public static interface DeviceDescription.Builder extends SdkPojo, CopyableBuilder<DeviceDescription.Builder,DeviceDescription>
| Modifier and Type | Method and Description |
|---|---|
DeviceDescription.Builder |
attributes(Map<String,String> attributes)
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
|
DeviceDescription.Builder |
deviceId(String deviceId)
The unique identifier of the device.
|
DeviceDescription.Builder |
enabled(Boolean enabled)
A Boolean value indicating whether or not the device is enabled.
|
DeviceDescription.Builder |
remainingLife(Double remainingLife)
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
|
DeviceDescription.Builder |
type(String type)
The type of the device, such as "button".
|
copyapplyMutation, buildDeviceDescription.Builder attributes(Map<String,String> attributes)
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
attributes - An array of zero or more elements of DeviceAttribute objects providing user specified device
attributes.DeviceDescription.Builder deviceId(String deviceId)
The unique identifier of the device.
deviceId - The unique identifier of the device.DeviceDescription.Builder enabled(Boolean enabled)
A Boolean value indicating whether or not the device is enabled.
enabled - A Boolean value indicating whether or not the device is enabled.DeviceDescription.Builder remainingLife(Double remainingLife)
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
remainingLife - A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.DeviceDescription.Builder type(String type)
The type of the device, such as "button".
type - The type of the device, such as "button".Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.