Interface CfnSignalCatalog.SensorProperty

All Superinterfaces:
All Known Implementing Classes:
Enclosing class:

@Stability(Stable) public static interface CfnSignalCatalog.SensorProperty extends
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.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 SensorProperty sensorProperty = SensorProperty.builder()
         // the properties below are optional
  • Method Details

    • getDataType

      @Stability(Stable) @NotNull String getDataType()
      The specified data type of the sensor.
    • getFullyQualifiedName

      @Stability(Stable) @NotNull String getFullyQualifiedName()
      The fully qualified name of the sensor.

      For example, the fully qualified name of a sensor might be Vehicle.Body.Engine.Battery .

    • getAllowedValues

      @Stability(Stable) @Nullable default List<String> getAllowedValues()
      (Optional) A list of possible values a sensor can take.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      (Optional) A brief description of a sensor.
    • getMax

      @Stability(Stable) @Nullable default Number getMax()
      (Optional) The specified possible maximum value of the sensor.
    • getMin

      @Stability(Stable) @Nullable default Number getMin()
      (Optional) The specified possible minimum value of the sensor.
    • getUnit

      @Stability(Stable) @Nullable default String getUnit()
      (Optional) The scientific unit of measurement for data collected by the sensor.
    • builder

      @Stability(Stable) static CfnSignalCatalog.SensorProperty.Builder builder()
      a CfnSignalCatalog.SensorProperty.Builder of CfnSignalCatalog.SensorProperty