Interface CreateActRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateActRequest.Builder,,CreateActRequest> NovaActRequest.Builder,SdkBuilder<CreateActRequest.Builder,,CreateActRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateActRequest
@Mutable
@NotThreadSafe
public static interface CreateActRequest.Builder
extends NovaActRequest.Builder, SdkPojo, CopyableBuilder<CreateActRequest.Builder,CreateActRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the session to create the act in.The task description that defines what the act should accomplish.toolSpecs(Collection<ToolSpec> toolSpecs) A list of tool specifications that the act can invoke to complete its task.toolSpecs(Consumer<ToolSpec.Builder>... toolSpecs) A list of tool specifications that the act can invoke to complete its task.A list of tool specifications that the act can invoke to complete its task.workflowDefinitionName(String workflowDefinitionName) The name of the workflow definition containing the session.workflowRunId(String workflowRunId) The unique identifier of the workflow run containing the session.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 session.
- Parameters:
workflowDefinitionName- The name of the workflow definition containing the session.- 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 session.
- Parameters:
workflowRunId- The unique identifier of the workflow run containing the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The unique identifier of the session to create the act in.
- Parameters:
sessionId- The unique identifier of the session to create the act in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
The task description that defines what the act should accomplish.
- Parameters:
task- The task description that defines what the act should accomplish.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSpecs
A list of tool specifications that the act can invoke to complete its task.
- Parameters:
toolSpecs- A list of tool specifications that the act can invoke to complete its task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSpecs
A list of tool specifications that the act can invoke to complete its task.
- Parameters:
toolSpecs- A list of tool specifications that the act can invoke to complete its task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toolSpecs
A list of tool specifications that the act can invoke to complete its task.
This is a convenience method that creates an instance of theToolSpec.Builderavoiding the need to create one manually viaToolSpec.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totoolSpecs(List<ToolSpec>).- Parameters:
toolSpecs- a consumer that will call methods onToolSpec.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateActRequest.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
CreateActRequest.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.
-