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 TypeMethodDescriptionenableTrace(Boolean enableTrace) Specifies whether to return the trace for the flow or not.flowAliasIdentifier(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.BedrockAgentRuntimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enableTrace
Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.
- Parameters:
enableTrace- Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaFlowInput.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-