public static final class DeviceInfo.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DeviceInfo |
build() |
DeviceInfo.Builder |
withDeviceName(java.lang.String devicename) |
public DeviceInfo.Builder withDeviceName(java.lang.String devicename)
devicename
- Human readable name of the device. This is not required and does not need to be unique.
Valid Examples: "Thermostat in room 1302", "Vehicle 1532312"
maxLength: 80. Truncates anything longer than that.public DeviceInfo build()