Interface NodeInputEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeInputEvent.Builder,NodeInputEvent>,SdkBuilder<NodeInputEvent.Builder,NodeInputEvent>,SdkPojo
- Enclosing class:
- NodeInputEvent
@Mutable @NotThreadSafe public static interface NodeInputEvent.Builder extends SdkPojo, CopyableBuilder<NodeInputEvent.Builder,NodeInputEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeInputEvent.Builderfields(Collection<NodeInputField> fields)A list of input fields provided to the node.NodeInputEvent.Builderfields(Consumer<NodeInputField.Builder>... fields)A list of input fields provided to the node.NodeInputEvent.Builderfields(NodeInputField... fields)A list of input fields provided to the node.NodeInputEvent.BuildernodeName(String nodeName)The name of the node that received the inputs.NodeInputEvent.Buildertimestamp(Instant timestamp)The timestamp when the inputs were provided to the node.-
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 Detail
-
fields
NodeInputEvent.Builder fields(Collection<NodeInputField> fields)
A list of input fields provided to the node.
- Parameters:
fields- A list of input fields provided to the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
NodeInputEvent.Builder fields(NodeInputField... fields)
A list of input fields provided to the node.
- Parameters:
fields- A list of input fields provided to the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
NodeInputEvent.Builder fields(Consumer<NodeInputField.Builder>... fields)
A list of input fields provided to the node.
This is a convenience method that creates an instance of theNodeInputField.Builderavoiding the need to create one manually viaNodeInputField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onNodeInputField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
nodeName
NodeInputEvent.Builder nodeName(String nodeName)
The name of the node that received the inputs.
- Parameters:
nodeName- The name of the node that received the inputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
NodeInputEvent.Builder timestamp(Instant timestamp)
The timestamp when the inputs were provided to the node.
- Parameters:
timestamp- The timestamp when the inputs were provided to the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-