Interface NodeInputField.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeInputField.Builder,NodeInputField>,SdkBuilder<NodeInputField.Builder,NodeInputField>,SdkPojo
- Enclosing class:
- NodeInputField
@Mutable @NotThreadSafe public static interface NodeInputField.Builder extends SdkPojo, CopyableBuilder<NodeInputField.Builder,NodeInputField>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NodeInputField.Buildercontent(Consumer<NodeExecutionContent.Builder> content)The content of the input field, which can contain text or structured data.NodeInputField.Buildercontent(NodeExecutionContent content)The content of the input field, which can contain text or structured data.NodeInputField.Buildername(String name)The name of the input field as defined in the node's input 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
NodeInputField.Builder content(NodeExecutionContent content)
The content of the input field, which can contain text or structured data.
- Parameters:
content- The content of the input 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 NodeInputField.Builder content(Consumer<NodeExecutionContent.Builder> content)
The content of the input 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
NodeInputField.Builder name(String name)
The name of the input field as defined in the node's input schema.
- Parameters:
name- The name of the input field as defined in the node's input schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-