Class CfnSignalCatalog.SensorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnSignalCatalog.SensorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSignalCatalog.SensorProperty>
- Enclosing interface:
- CfnSignalCatalog.SensorProperty
@Stability(Stable)
public static final class CfnSignalCatalog.SensorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSignalCatalog.SensorProperty>
A builder for
CfnSignalCatalog.SensorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedValues(List<String> allowedValues) Sets the value ofCfnSignalCatalog.SensorProperty.getAllowedValues()build()Builds the configured instance.Sets the value ofCfnSignalCatalog.SensorProperty.getDataType()description(String description) Sets the value ofCfnSignalCatalog.SensorProperty.getDescription()fullyQualifiedName(String fullyQualifiedName) Sets the value ofCfnSignalCatalog.SensorProperty.getFullyQualifiedName()Sets the value ofCfnSignalCatalog.SensorProperty.getMax()Sets the value ofCfnSignalCatalog.SensorProperty.getMin()Sets the value ofCfnSignalCatalog.SensorProperty.getUnit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataType
Sets the value ofCfnSignalCatalog.SensorProperty.getDataType()- Parameters:
dataType- The specified data type of the sensor. This parameter is required.- Returns:
this
-
fullyQualifiedName
@Stability(Stable) public CfnSignalCatalog.SensorProperty.Builder fullyQualifiedName(String fullyQualifiedName) Sets the value ofCfnSignalCatalog.SensorProperty.getFullyQualifiedName()- Parameters:
fullyQualifiedName- The fully qualified name of the sensor. This parameter is required. For example, the fully qualified name of a sensor might beVehicle.Body.Engine.Battery.- Returns:
this
-
allowedValues
@Stability(Stable) public CfnSignalCatalog.SensorProperty.Builder allowedValues(List<String> allowedValues) Sets the value ofCfnSignalCatalog.SensorProperty.getAllowedValues()- Parameters:
allowedValues- (Optional) A list of possible values a sensor can take.- Returns:
this
-
description
Sets the value ofCfnSignalCatalog.SensorProperty.getDescription()- Parameters:
description- (Optional) A brief description of a sensor.- Returns:
this
-
max
Sets the value ofCfnSignalCatalog.SensorProperty.getMax()- Parameters:
max- (Optional) The specified possible maximum value of the sensor.- Returns:
this
-
min
Sets the value ofCfnSignalCatalog.SensorProperty.getMin()- Parameters:
min- (Optional) The specified possible minimum value of the sensor.- Returns:
this
-
unit
Sets the value ofCfnSignalCatalog.SensorProperty.getUnit()- Parameters:
unit- (Optional) The scientific unit of measurement for data collected by the sensor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSignalCatalog.SensorProperty>- Returns:
- a new instance of
CfnSignalCatalog.SensorProperty - Throws:
NullPointerException- if any required attribute was not provided
-