Interface CfnSignalCatalog.SensorProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSignalCatalog.SensorProperty.Jsii$Proxy
- Enclosing class:
CfnSignalCatalog
@Stability(Stable)
public static interface CfnSignalCatalog.SensorProperty
extends software.amazon.jsii.JsiiSerializable
An input component that reports the environmental condition of a vehicle.
You can collect data about fluid levels, temperatures, vibrations, or battery voltage from sensors.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iotfleetwise.*; SensorProperty sensorProperty = SensorProperty.builder() .dataType("dataType") .fullyQualifiedName("fullyQualifiedName") // the properties below are optional .allowedValues(List.of("allowedValues")) .description("description") .max(123) .min(123) .unit("unit") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSignalCatalog.SensorProperty
static final class
An implementation forCfnSignalCatalog.SensorProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
(Optional) A list of possible values a sensor can take.The specified data type of the sensor.default String
(Optional) A brief description of a sensor.The fully qualified name of the sensor.default Number
getMax()
(Optional) The specified possible maximum value of the sensor.default Number
getMin()
(Optional) The specified possible minimum value of the sensor.default String
getUnit()
(Optional) The scientific unit of measurement for data collected by the sensor.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDataType
The specified data type of the sensor. -
getFullyQualifiedName
The fully qualified name of the sensor.For example, the fully qualified name of a sensor might be
Vehicle.Body.Engine.Battery
. -
getAllowedValues
(Optional) A list of possible values a sensor can take. -
getDescription
(Optional) A brief description of a sensor. -
getMax
(Optional) The specified possible maximum value of the sensor. -
getMin
(Optional) The specified possible minimum value of the sensor. -
getUnit
(Optional) The scientific unit of measurement for data collected by the sensor. -
builder
-