Interface CreateWorkflowDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWorkflowDefinitionRequest.Builder,,CreateWorkflowDefinitionRequest> NovaActRequest.Builder,SdkBuilder<CreateWorkflowDefinitionRequest.Builder,,CreateWorkflowDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateWorkflowDefinitionRequest
@Mutable
@NotThreadSafe
public static interface CreateWorkflowDefinitionRequest.Builder
extends NovaActRequest.Builder, SdkPojo, CopyableBuilder<CreateWorkflowDefinitionRequest.Builder,CreateWorkflowDefinitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) An optional description of the workflow definition's purpose and functionality.exportConfig(Consumer<WorkflowExportConfig.Builder> exportConfig) Configuration for exporting workflow execution data to Amazon Simple Storage Service.exportConfig(WorkflowExportConfig exportConfig) Configuration for exporting workflow execution data to Amazon Simple Storage Service.The name of the workflow definition.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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
-
name
The name of the workflow definition. Must be unique within your account and region.
- Parameters:
name- The name of the workflow definition. Must be unique within your account and region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description of the workflow definition's purpose and functionality.
- Parameters:
description- An optional description of the workflow definition's purpose and functionality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportConfig
Configuration for exporting workflow execution data to Amazon Simple Storage Service.
- Parameters:
exportConfig- Configuration for exporting workflow execution data to Amazon Simple Storage Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportConfig
default CreateWorkflowDefinitionRequest.Builder exportConfig(Consumer<WorkflowExportConfig.Builder> exportConfig) Configuration for exporting workflow execution data to Amazon Simple Storage Service.
This is a convenience method that creates an instance of theWorkflowExportConfig.Builderavoiding the need to create one manually viaWorkflowExportConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexportConfig(WorkflowExportConfig).- Parameters:
exportConfig- a consumer that will call methods onWorkflowExportConfig.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
CreateWorkflowDefinitionRequest.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
CreateWorkflowDefinitionRequest.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.
-