Interface PrimitiveMessageDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrimitiveMessageDefinition.Builder,,PrimitiveMessageDefinition> SdkBuilder<PrimitiveMessageDefinition.Builder,,PrimitiveMessageDefinition> SdkPojo
- Enclosing class:
PrimitiveMessageDefinition
public static interface PrimitiveMessageDefinition.Builder
extends SdkPojo, CopyableBuilder<PrimitiveMessageDefinition.Builder,PrimitiveMessageDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionros2PrimitiveMessageDefinition(Consumer<ROS2PrimitiveMessageDefinition.Builder> ros2PrimitiveMessageDefinition) Information about aPrimitiveMessageusing a ROS 2 compliant primitive type message of the complex data structure.ros2PrimitiveMessageDefinition(ROS2PrimitiveMessageDefinition ros2PrimitiveMessageDefinition) Information about aPrimitiveMessageusing a ROS 2 compliant primitive type message of the complex data structure.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ros2PrimitiveMessageDefinition
PrimitiveMessageDefinition.Builder ros2PrimitiveMessageDefinition(ROS2PrimitiveMessageDefinition ros2PrimitiveMessageDefinition) Information about a
PrimitiveMessageusing a ROS 2 compliant primitive type message of the complex data structure.- Parameters:
ros2PrimitiveMessageDefinition- Information about aPrimitiveMessageusing a ROS 2 compliant primitive type message of the complex data structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ros2PrimitiveMessageDefinition
default PrimitiveMessageDefinition.Builder ros2PrimitiveMessageDefinition(Consumer<ROS2PrimitiveMessageDefinition.Builder> ros2PrimitiveMessageDefinition) Information about a
This is a convenience method that creates an instance of thePrimitiveMessageusing a ROS 2 compliant primitive type message of the complex data structure.ROS2PrimitiveMessageDefinition.Builderavoiding the need to create one manually viaROS2PrimitiveMessageDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toros2PrimitiveMessageDefinition(ROS2PrimitiveMessageDefinition).- Parameters:
ros2PrimitiveMessageDefinition- a consumer that will call methods onROS2PrimitiveMessageDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-