Interface InvokeFlowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentRuntimeRequest.Builder
,Buildable
,CopyableBuilder<InvokeFlowRequest.Builder,
,InvokeFlowRequest> SdkBuilder<InvokeFlowRequest.Builder,
,InvokeFlowRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
InvokeFlowRequest
public static interface InvokeFlowRequest.Builder
extends BedrockAgentRuntimeRequest.Builder, SdkPojo, CopyableBuilder<InvokeFlowRequest.Builder,InvokeFlowRequest>
-
Method Summary
Modifier and TypeMethodDescriptionflowAliasIdentifier
(String flowAliasIdentifier) The unique identifier of the flow alias.flowIdentifier
(String flowIdentifier) The unique identifier of the flow.inputs
(Collection<FlowInput> inputs) A list of objects, each containing information about an input into the flow.inputs
(Consumer<FlowInput.Builder>... inputs) A list of objects, each containing information about an input into the flow.A list of objects, each containing information about an input into the flow.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest.Builder
build
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, sdkFields
-
Method Details
-
flowAliasIdentifier
The unique identifier of the flow alias.
- Parameters:
flowAliasIdentifier
- The unique identifier of the flow alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowIdentifier
The unique identifier of the flow.
- Parameters:
flowIdentifier
- The unique identifier of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
A list of objects, each containing information about an input into the flow.
- Parameters:
inputs
- A list of objects, each containing information about an input into the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
A list of objects, each containing information about an input into the flow.
- Parameters:
inputs
- A list of objects, each containing information about an input into the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
A list of objects, each containing information about an input into the flow.
This is a convenience method that creates an instance of theFlowInput.Builder
avoiding the need to create one manually viaFlowInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputs(List<FlowInput>)
.- Parameters:
inputs
- a consumer that will call methods onFlowInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
InvokeFlowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
InvokeFlowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-