Interface StartWorkflowRunRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartWorkflowRunRequest.Builder,,StartWorkflowRunRequest> MwaaServerlessRequest.Builder,SdkBuilder<StartWorkflowRunRequest.Builder,,StartWorkflowRunRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartWorkflowRunRequest
@Mutable
@NotThreadSafe
public static interface StartWorkflowRunRequest.Builder
extends MwaaServerlessRequest.Builder, SdkPojo, CopyableBuilder<StartWorkflowRunRequest.Builder,StartWorkflowRunRequest>
-
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.overrideParameters(Map<String, Document> overrideParameters) Optional parameters to override default workflow parameters for this specific run.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow you want to run.workflowVersion(String workflowVersion) Optional.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.mwaaserverless.model.MwaaServerlessRequest.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
-
workflowArn
The Amazon Resource Name (ARN) of the workflow you want to run.
- Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow you want to run.- 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. This token prevents duplicate workflow run requests.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token prevents duplicate workflow run requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideParameters
Optional parameters to override default workflow parameters for this specific run. These parameters are passed to the workflow during execution and can be used to customize behavior without modifying the workflow definition. Parameters are made available as environment variables to tasks and you can reference them within the YAML workflow definition using standard parameter substitution syntax.
- Parameters:
overrideParameters- Optional parameters to override default workflow parameters for this specific run. These parameters are passed to the workflow during execution and can be used to customize behavior without modifying the workflow definition. Parameters are made available as environment variables to tasks and you can reference them within the YAML workflow definition using standard parameter substitution syntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowVersion
Optional. The specific version of the workflow to execute. If not specified, the latest version is used.
- Parameters:
workflowVersion- Optional. The specific version of the workflow to execute. If not specified, the latest version is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartWorkflowRunRequest.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
StartWorkflowRunRequest.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.
-