Interface CreateWorkflowRunRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkflowRunRequest.Builder,,CreateWorkflowRunRequest> NovaActRequest.Builder,SdkBuilder<CreateWorkflowRunRequest.Builder,,CreateWorkflowRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkflowRunRequest
@Mutable
@NotThreadSafe
public static interface CreateWorkflowRunRequest.Builder
extends NovaActRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkflowRunRequest.Builder,CreateWorkflowRunRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateWorkflowRunRequest.BuilderclientInfo(Consumer<ClientInfo.Builder> clientInfo) Information about the client making the request, including compatibility version and SDK version.clientInfo(ClientInfo clientInfo) Information about the client making the request, including compatibility version and SDK version.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.logGroupName(String logGroupName) The CloudWatch log group name for storing workflow execution logs.The ID of the AI model to use for workflow execution.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workflowDefinitionName(String workflowDefinitionName) The name of the workflow definition to execute.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 to execute.
- Parameters:
workflowDefinitionName- The name of the workflow definition to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelId
The ID of the AI model to use for workflow execution.
- Parameters:
modelId- The ID of the AI model to use for workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
logGroupName
The CloudWatch log group name for storing workflow execution logs.
- Parameters:
logGroupName- The CloudWatch log group name for storing workflow execution logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientInfo
Information about the client making the request, including compatibility version and SDK version.
- Parameters:
clientInfo- Information about the client making the request, including compatibility version and SDK version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientInfo
Information about the client making the request, including compatibility version and SDK version.
This is a convenience method that creates an instance of theClientInfo.Builderavoiding the need to create one manually viaClientInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclientInfo(ClientInfo).- Parameters:
clientInfo- a consumer that will call methods onClientInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateWorkflowRunRequest.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
CreateWorkflowRunRequest.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.
-