Interface InvokeActStepResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<InvokeActStepResponse.Builder,,InvokeActStepResponse> NovaActResponse.Builder,SdkBuilder<InvokeActStepResponse.Builder,,InvokeActStepResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
InvokeActStepResponse
@Mutable
@NotThreadSafe
public static interface InvokeActStepResponse.Builder
extends NovaActResponse.Builder, SdkPojo, CopyableBuilder<InvokeActStepResponse.Builder,InvokeActStepResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncalls(Collection<Call> calls) A list of tool calls that the act wants to execute in this step.calls(Consumer<Call.Builder>... calls) A list of tool calls that the act wants to execute in this step.A list of tool calls that the act wants to execute in this step.The unique identifier for this execution step.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.novaact.model.NovaActResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
calls
A list of tool calls that the act wants to execute in this step.
- Parameters:
calls- A list of tool calls that the act wants to execute in this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calls
A list of tool calls that the act wants to execute in this step.
- Parameters:
calls- A list of tool calls that the act wants to execute in this step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calls
A list of tool calls that the act wants to execute in this step.
This is a convenience method that creates an instance of theCall.Builderavoiding the need to create one manually viaCall.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocalls(List<Call>).- Parameters:
calls- a consumer that will call methods onCall.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepId
The unique identifier for this execution step.
- Parameters:
stepId- The unique identifier for this execution step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-