Interface NodeOutputEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeOutputEvent.Builder,NodeOutputEvent>,SdkBuilder<NodeOutputEvent.Builder,NodeOutputEvent>,SdkPojo
- Enclosing class:
- NodeOutputEvent
@Mutable @NotThreadSafe public static interface NodeOutputEvent.Builder extends SdkPojo, CopyableBuilder<NodeOutputEvent.Builder,NodeOutputEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeOutputEvent.Builderfields(Collection<NodeOutputField> fields)A list of output fields produced by the node.NodeOutputEvent.Builderfields(Consumer<NodeOutputField.Builder>... fields)A list of output fields produced by the node.NodeOutputEvent.Builderfields(NodeOutputField... fields)A list of output fields produced by the node.NodeOutputEvent.BuildernodeName(String nodeName)The name of the node that produced the outputs.NodeOutputEvent.Buildertimestamp(Instant timestamp)The timestamp when the outputs were produced by 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
NodeOutputEvent.Builder fields(Collection<NodeOutputField> fields)
A list of output fields produced by the node.
- Parameters:
fields- A list of output fields produced by the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
NodeOutputEvent.Builder fields(NodeOutputField... fields)
A list of output fields produced by the node.
- Parameters:
fields- A list of output fields produced by the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
NodeOutputEvent.Builder fields(Consumer<NodeOutputField.Builder>... fields)
A list of output fields produced by the node.
This is a convenience method that creates an instance of theNodeOutputField.Builderavoiding the need to create one manually viaNodeOutputField.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 onNodeOutputField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
nodeName
NodeOutputEvent.Builder nodeName(String nodeName)
The name of the node that produced the outputs.
- Parameters:
nodeName- The name of the node that produced the outputs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
NodeOutputEvent.Builder timestamp(Instant timestamp)
The timestamp when the outputs were produced by the node.
- Parameters:
timestamp- The timestamp when the outputs were produced by the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-