Interface Sensor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Sensor.Builder,Sensor>,SdkBuilder<Sensor.Builder,Sensor>,SdkPojo
- Enclosing class:
- Sensor
public static interface Sensor.Builder extends SdkPojo, CopyableBuilder<Sensor.Builder,Sensor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sensor.BuilderallowedValues(String... allowedValues)A list of possible values a sensor can take.Sensor.BuilderallowedValues(Collection<String> allowedValues)A list of possible values a sensor can take.Sensor.Buildercomment(String comment)A comment in addition to the description.Sensor.BuilderdataType(String dataType)The specified data type of the sensor.Sensor.BuilderdataType(NodeDataType dataType)The specified data type of the sensor.Sensor.BuilderdeprecationMessage(String deprecationMessage)The deprecation message for the node or the branch that was moved or deleted.Sensor.Builderdescription(String description)A brief description of a sensor.Sensor.BuilderfullyQualifiedName(String fullyQualifiedName)The fully qualified name of the sensor.Sensor.Buildermax(Double max)The specified possible maximum value of the sensor.Sensor.Buildermin(Double min)The specified possible minimum value of the sensor.Sensor.BuilderstructFullyQualifiedName(String structFullyQualifiedName)The fully qualified name of the struct node for a sensor if the data type of the actuator isStructorStructArray.Sensor.Builderunit(String unit)The scientific unit of measurement for data collected by the sensor.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
fullyQualifiedName
Sensor.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.- Parameters:
fullyQualifiedName- The fully qualified name of the sensor. For example, the fully qualified name of a sensor might beVehicle.Body.Engine.Battery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataType
Sensor.Builder dataType(String dataType)
The specified data type of the sensor.
- Parameters:
dataType- The specified data type of the sensor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NodeDataType,NodeDataType
-
dataType
Sensor.Builder dataType(NodeDataType dataType)
The specified data type of the sensor.
- Parameters:
dataType- The specified data type of the sensor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NodeDataType,NodeDataType
-
description
Sensor.Builder description(String description)
A brief description of a sensor.
- Parameters:
description- A brief description of a sensor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
Sensor.Builder unit(String unit)
The scientific unit of measurement for data collected by the sensor.
- Parameters:
unit- The scientific unit of measurement for data collected by the sensor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
Sensor.Builder allowedValues(Collection<String> allowedValues)
A list of possible values a sensor can take.
- Parameters:
allowedValues- A list of possible values a sensor can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
Sensor.Builder allowedValues(String... allowedValues)
A list of possible values a sensor can take.
- Parameters:
allowedValues- A list of possible values a sensor can take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
min
Sensor.Builder min(Double min)
The specified possible minimum value of the sensor.
- Parameters:
min- The specified possible minimum value of the sensor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
max
Sensor.Builder max(Double max)
The specified possible maximum value of the sensor.
- Parameters:
max- The specified possible maximum value of the sensor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deprecationMessage
Sensor.Builder deprecationMessage(String deprecationMessage)
The deprecation message for the node or the branch that was moved or deleted.
- Parameters:
deprecationMessage- The deprecation message for the node or the branch that was moved or deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
Sensor.Builder comment(String comment)
A comment in addition to the description.
- Parameters:
comment- A comment in addition to the description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
structFullyQualifiedName
Sensor.Builder structFullyQualifiedName(String structFullyQualifiedName)
The fully qualified name of the struct node for a sensor if the data type of the actuator is
StructorStructArray. For example, the struct fully qualified name of a sensor might beVehicle.ADAS.CameraStruct.- Parameters:
structFullyQualifiedName- The fully qualified name of the struct node for a sensor if the data type of the actuator isStructorStructArray. For example, the struct fully qualified name of a sensor might beVehicle.ADAS.CameraStruct.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-