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
Modifier and TypeMethodDescriptionfields
(Collection<NodeOutputField> fields) A list of output fields produced by the node.fields
(Consumer<NodeOutputField.Builder>... fields) A list of output fields produced by the node.fields
(NodeOutputField... fields) A list of output fields produced by the node.The name of the node that produced the outputs.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 Details
-
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
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
A list of output fields produced by the node.
This is a convenience method that creates an instance of theNodeOutputField.Builder
avoiding the need to create one manually viaNodeOutputField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<NodeOutputField>)
.- 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:
-
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
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.
-