Interface PrimitiveMessageDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrimitiveMessageDefinition.Builder,
,PrimitiveMessageDefinition> SdkBuilder<PrimitiveMessageDefinition.Builder,
,PrimitiveMessageDefinition> SdkPojo
- Enclosing class:
PrimitiveMessageDefinition
@Mutable
@NotThreadSafe
public static interface PrimitiveMessageDefinition.Builder
extends SdkPojo, CopyableBuilder<PrimitiveMessageDefinition.Builder,PrimitiveMessageDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionros2PrimitiveMessageDefinition
(Consumer<ROS2PrimitiveMessageDefinition.Builder> ros2PrimitiveMessageDefinition) Information about aPrimitiveMessage
using a ROS 2 compliant primitive type message of the complex data structure.ros2PrimitiveMessageDefinition
(ROS2PrimitiveMessageDefinition ros2PrimitiveMessageDefinition) Information about aPrimitiveMessage
using a ROS 2 compliant primitive type message of the complex data structure.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, sdkFieldNameToField, sdkFields
-
Method Details
-
ros2PrimitiveMessageDefinition
PrimitiveMessageDefinition.Builder ros2PrimitiveMessageDefinition(ROS2PrimitiveMessageDefinition ros2PrimitiveMessageDefinition) Information about a
PrimitiveMessage
using a ROS 2 compliant primitive type message of the complex data structure.- Parameters:
ros2PrimitiveMessageDefinition
- Information about aPrimitiveMessage
using 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 thePrimitiveMessage
using a ROS 2 compliant primitive type message of the complex data structure.ROS2PrimitiveMessageDefinition.Builder
avoiding the need to create one manually viaROS2PrimitiveMessageDefinition.builder()
.When the
Consumer
completes,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:
-