Interface ROS2PrimitiveMessageDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ROS2PrimitiveMessageDefinition.Builder,
,ROS2PrimitiveMessageDefinition> SdkBuilder<ROS2PrimitiveMessageDefinition.Builder,
,ROS2PrimitiveMessageDefinition> SdkPojo
- Enclosing class:
ROS2PrimitiveMessageDefinition
public static interface ROS2PrimitiveMessageDefinition.Builder
extends SdkPojo, CopyableBuilder<ROS2PrimitiveMessageDefinition.Builder,ROS2PrimitiveMessageDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionThe offset used to calculate the signal value.primitiveType
(String primitiveType) The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.primitiveType
(ROS2PrimitiveType primitiveType) The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.A multiplier used to decode the message.upperBound
(Long upperBound) An optional attribute specifying the upper bound forSTRING
andWSTRING
.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 Details
-
primitiveType
The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
- Parameters:
primitiveType
- The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
primitiveType
The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.
- Parameters:
primitiveType
- The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
offset
The offset used to calculate the signal value. Combined with scaling, the calculation is
value = raw_value * scaling + offset
.- Parameters:
offset
- The offset used to calculate the signal value. Combined with scaling, the calculation isvalue = raw_value * scaling + offset
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaling
A multiplier used to decode the message.
- Parameters:
scaling
- A multiplier used to decode the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upperBound
An optional attribute specifying the upper bound for
STRING
andWSTRING
.- Parameters:
upperBound
- An optional attribute specifying the upper bound forSTRING
andWSTRING
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-