Interface StartFlowExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentRuntimeRequest.Builder,Buildable,CopyableBuilder<StartFlowExecutionRequest.Builder,StartFlowExecutionRequest>,SdkBuilder<StartFlowExecutionRequest.Builder,StartFlowExecutionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartFlowExecutionRequest
@Mutable @NotThreadSafe public static interface StartFlowExecutionRequest.Builder extends BedrockAgentRuntimeRequest.Builder, SdkPojo, CopyableBuilder<StartFlowExecutionRequest.Builder,StartFlowExecutionRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
flowAliasIdentifier
StartFlowExecutionRequest.Builder flowAliasIdentifier(String flowAliasIdentifier)
The unique identifier of the flow alias to use for the flow execution.
- Parameters:
flowAliasIdentifier- The unique identifier of the flow alias to use for the flow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowExecutionName
StartFlowExecutionRequest.Builder flowExecutionName(String flowExecutionName)
The unique name for the flow execution. If you don't provide one, a system-generated name is used.
- Parameters:
flowExecutionName- The unique name for the flow execution. If you don't provide one, a system-generated name is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowIdentifier
StartFlowExecutionRequest.Builder flowIdentifier(String flowIdentifier)
The unique identifier of the flow to execute.
- Parameters:
flowIdentifier- The unique identifier of the flow to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
StartFlowExecutionRequest.Builder inputs(Collection<FlowInput> inputs)
The input data required for the flow execution. This must match the input schema defined in the flow.
- Parameters:
inputs- The input data required for the flow execution. This must match the input schema defined in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
StartFlowExecutionRequest.Builder inputs(FlowInput... inputs)
The input data required for the flow execution. This must match the input schema defined in the flow.
- Parameters:
inputs- The input data required for the flow execution. This must match the input schema defined in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
StartFlowExecutionRequest.Builder inputs(Consumer<FlowInput.Builder>... inputs)
The input data required for the flow execution. This must match the input schema defined in 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 to#inputs(List.) - 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:
#inputs(java.util.Collection)
-
modelPerformanceConfiguration
StartFlowExecutionRequest.Builder modelPerformanceConfiguration(ModelPerformanceConfiguration modelPerformanceConfiguration)
The performance settings for the foundation model used in the flow execution.
- Parameters:
modelPerformanceConfiguration- The performance settings for the foundation model used in the flow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPerformanceConfiguration
default StartFlowExecutionRequest.Builder modelPerformanceConfiguration(Consumer<ModelPerformanceConfiguration.Builder> modelPerformanceConfiguration)
The performance settings for the foundation model used in the flow execution.
This is a convenience method that creates an instance of theModelPerformanceConfiguration.Builderavoiding the need to create one manually viaModelPerformanceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelPerformanceConfiguration(ModelPerformanceConfiguration).- Parameters:
modelPerformanceConfiguration- a consumer that will call methods onModelPerformanceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelPerformanceConfiguration(ModelPerformanceConfiguration)
-
overrideConfiguration
StartFlowExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartFlowExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-