public static interface Sensor.Builder extends SdkPojo, CopyableBuilder<Sensor.Builder,Sensor>
| Modifier and Type | Method and Description |
|---|---|
Sensor.Builder |
allowedValues(Collection<String> allowedValues)
A list of possible values a sensor can take.
|
Sensor.Builder |
allowedValues(String... allowedValues)
A list of possible values a sensor can take.
|
Sensor.Builder |
dataType(NodeDataType dataType)
The specified data type of the sensor.
|
Sensor.Builder |
dataType(String dataType)
The specified data type of the sensor.
|
Sensor.Builder |
description(String description)
A brief description of a sensor.
|
Sensor.Builder |
fullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the sensor.
|
Sensor.Builder |
max(Double max)
The specified possible maximum value of the sensor.
|
Sensor.Builder |
min(Double min)
The specified possible minimum value of the sensor.
|
Sensor.Builder |
unit(String unit)
The scientific unit of measurement for data collected by the sensor.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSensor.Builder fullyQualifiedName(String fullyQualifiedName)
The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be
Vehicle.Body.Engine.Battery.
fullyQualifiedName - The fully qualified name of the sensor. For example, the fully qualified name of a sensor might be
Vehicle.Body.Engine.Battery.Sensor.Builder dataType(String dataType)
The specified data type of the sensor.
dataType - The specified data type of the sensor.NodeDataType,
NodeDataTypeSensor.Builder dataType(NodeDataType dataType)
The specified data type of the sensor.
dataType - The specified data type of the sensor.NodeDataType,
NodeDataTypeSensor.Builder description(String description)
A brief description of a sensor.
description - A brief description of a sensor.Sensor.Builder unit(String unit)
The scientific unit of measurement for data collected by the sensor.
unit - The scientific unit of measurement for data collected by the sensor.Sensor.Builder allowedValues(Collection<String> allowedValues)
A list of possible values a sensor can take.
allowedValues - A list of possible values a sensor can take.Sensor.Builder allowedValues(String... allowedValues)
A list of possible values a sensor can take.
allowedValues - A list of possible values a sensor can take.Sensor.Builder min(Double min)
The specified possible minimum value of the sensor.
min - The specified possible minimum value of the sensor.Sensor.Builder max(Double max)
The specified possible maximum value of the sensor.
max - The specified possible maximum value of the sensor.Copyright © 2022. All rights reserved.