Interface FlowInputField.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FlowInputField.Builder,FlowInputField>,SdkBuilder<FlowInputField.Builder,FlowInputField>,SdkPojo
- Enclosing class:
- FlowInputField
@Mutable @NotThreadSafe public static interface FlowInputField.Builder extends SdkPojo, CopyableBuilder<FlowInputField.Builder,FlowInputField>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FlowInputField.Buildercontent(Consumer<FlowExecutionContent.Builder> content)The content of the input field, which can contain text or structured data.FlowInputField.Buildercontent(FlowExecutionContent content)The content of the input field, which can contain text or structured data.FlowInputField.Buildername(String name)The name of the input field as defined in the flow'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
FlowInputField.Builder content(FlowExecutionContent 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 FlowInputField.Builder content(Consumer<FlowExecutionContent.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 theFlowExecutionContent.Builderavoiding the need to create one manually viaFlowExecutionContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontent(FlowExecutionContent).- Parameters:
content- a consumer that will call methods onFlowExecutionContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
content(FlowExecutionContent)
-
name
FlowInputField.Builder name(String name)
The name of the input field as defined in the flow's input schema.
- Parameters:
name- The name of the input field as defined in the flow's input schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-