Interface NodeOutputField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeOutputField.Builder,
,NodeOutputField> SdkBuilder<NodeOutputField.Builder,
,NodeOutputField> SdkPojo
- Enclosing class:
NodeOutputField
@Mutable
@NotThreadSafe
public static interface NodeOutputField.Builder
extends SdkPojo, CopyableBuilder<NodeOutputField.Builder,NodeOutputField>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodeOutputField.Builder
content
(Consumer<NodeExecutionContent.Builder> content) The content of the output field, which can contain text or structured data.content
(NodeExecutionContent content) The content of the output field, which can contain text or structured data.The name of the output field as defined in the node's output schema.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
-
content
The content of the output field, which can contain text or structured data.
- Parameters:
content
- The content of the output field, which can contain text or structured data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the output field, which can contain text or structured data.
This is a convenience method that creates an instance of theNodeExecutionContent.Builder
avoiding the need to create one manually viaNodeExecutionContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(NodeExecutionContent)
.- Parameters:
content
- a consumer that will call methods onNodeExecutionContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the output field as defined in the node's output schema.
- Parameters:
name
- The name of the output field as defined in the node's output schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-