Interface InvokeActStepRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<InvokeActStepRequest.Builder,,InvokeActStepRequest> NovaActRequest.Builder,SdkBuilder<InvokeActStepRequest.Builder,,InvokeActStepRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
InvokeActStepRequest
@Mutable
@NotThreadSafe
public static interface InvokeActStepRequest.Builder
extends NovaActRequest.Builder, SdkPojo, CopyableBuilder<InvokeActStepRequest.Builder,InvokeActStepRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the act to invoke the next step for.callResults(Collection<CallResult> callResults) The results from previous tool calls that the act requested.callResults(Consumer<CallResult.Builder>... callResults) The results from previous tool calls that the act requested.callResults(CallResult... callResults) The results from previous tool calls that the act requested.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.previousStepId(String previousStepId) The identifier of the previous step, used for tracking execution flow.The unique identifier of the session containing the act.workflowDefinitionName(String workflowDefinitionName) The name of the workflow definition containing the act.workflowRunId(String workflowRunId) The unique identifier of the workflow run containing the act.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.novaact.model.NovaActRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workflowDefinitionName
The name of the workflow definition containing the act.
- Parameters:
workflowDefinitionName- The name of the workflow definition containing the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRunId
The unique identifier of the workflow run containing the act.
- Parameters:
workflowRunId- The unique identifier of the workflow run containing the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier of the session containing the act.
- Parameters:
sessionId- The unique identifier of the session containing the act.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actId
The unique identifier of the act to invoke the next step for.
- Parameters:
actId- The unique identifier of the act to invoke the next step for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callResults
The results from previous tool calls that the act requested.
- Parameters:
callResults- The results from previous tool calls that the act requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callResults
The results from previous tool calls that the act requested.
- Parameters:
callResults- The results from previous tool calls that the act requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
callResults
The results from previous tool calls that the act requested.
This is a convenience method that creates an instance of theCallResult.Builderavoiding the need to create one manually viaCallResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocallResults(List<CallResult>).- Parameters:
callResults- a consumer that will call methods onCallResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previousStepId
The identifier of the previous step, used for tracking execution flow.
- Parameters:
previousStepId- The identifier of the previous step, used for tracking execution flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
InvokeActStepRequest.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
InvokeActStepRequest.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.
-