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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NodeOutputField.Buildercontent(Consumer<NodeExecutionContent.Builder> content)The content of the output field, which can contain text or structured data.NodeOutputField.Buildercontent(NodeExecutionContent content)The content of the output field, which can contain text or structured data.NodeOutputField.Buildername(String name)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 Detail
-
content
NodeOutputField.Builder content(NodeExecutionContent 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
default NodeOutputField.Builder content(Consumer<NodeExecutionContent.Builder> 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.Builderavoiding the need to create one manually viaNodeExecutionContent.builder().When the
Consumercompletes,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:
content(NodeExecutionContent)
-
name
NodeOutputField.Builder name(String 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.
-
-