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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ROS2PrimitiveMessageDefinition.Builderoffset(Double offset)The offset used to calculate the signal value.ROS2PrimitiveMessageDefinition.BuilderprimitiveType(String primitiveType)The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.ROS2PrimitiveMessageDefinition.BuilderprimitiveType(ROS2PrimitiveType primitiveType)The primitive type (integer, floating point, boolean, etc.) for the ROS 2 primitive message definition.ROS2PrimitiveMessageDefinition.Builderscaling(Double scaling)A multiplier used to decode the message.ROS2PrimitiveMessageDefinition.BuilderupperBound(Long upperBound)An optional attribute specifying the upper bound forSTRINGandWSTRING.-
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
-
primitiveType
ROS2PrimitiveMessageDefinition.Builder primitiveType(String 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:
ROS2PrimitiveType,ROS2PrimitiveType
-
primitiveType
ROS2PrimitiveMessageDefinition.Builder primitiveType(ROS2PrimitiveType 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:
ROS2PrimitiveType,ROS2PrimitiveType
-
offset
ROS2PrimitiveMessageDefinition.Builder offset(Double 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
ROS2PrimitiveMessageDefinition.Builder scaling(Double 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
ROS2PrimitiveMessageDefinition.Builder upperBound(Long upperBound)
An optional attribute specifying the upper bound for
STRINGandWSTRING.- Parameters:
upperBound- An optional attribute specifying the upper bound forSTRINGandWSTRING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-