Interface UpdateWorkflowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateWorkflowRequest.Builder,,UpdateWorkflowRequest> MwaaServerlessRequest.Builder,SdkBuilder<UpdateWorkflowRequest.Builder,,UpdateWorkflowRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateWorkflowRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateWorkflowRequest.BuilderdefinitionS3Location(Consumer<DefinitionS3Location.Builder> definitionS3Location) The Amazon S3 location where the updated workflow definition file is stored.definitionS3Location(DefinitionS3Location definitionS3Location) The Amazon S3 location where the updated workflow definition file is stored.description(String description) An updated description for the workflow.engineVersion(Integer engineVersion) The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.default UpdateWorkflowRequest.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) Updated logging configuration for the workflow.loggingConfiguration(LoggingConfiguration loggingConfiguration) Updated logging configuration for the workflow.default UpdateWorkflowRequest.BuildernetworkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Updated network configuration for the workflow execution environment.networkConfiguration(NetworkConfiguration networkConfiguration) Updated network configuration for the workflow execution environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.triggerMode(String triggerMode) The trigger mode for the workflow execution.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow you want to update.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 update.
- Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitionS3Location
The Amazon S3 location where the updated workflow definition file is stored.
- Parameters:
definitionS3Location- The Amazon S3 location where the updated workflow definition file is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitionS3Location
default UpdateWorkflowRequest.Builder definitionS3Location(Consumer<DefinitionS3Location.Builder> definitionS3Location) The Amazon S3 location where the updated workflow definition file is stored.
This is a convenience method that creates an instance of theDefinitionS3Location.Builderavoiding the need to create one manually viaDefinitionS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinitionS3Location(DefinitionS3Location).- Parameters:
definitionS3Location- a consumer that will call methods onDefinitionS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An updated description for the workflow.
- Parameters:
description- An updated description for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
Updated logging configuration for the workflow.
- Parameters:
loggingConfiguration- Updated logging configuration for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default UpdateWorkflowRequest.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) Updated logging configuration for the workflow.
This is a convenience method that creates an instance of theLoggingConfiguration.Builderavoiding the need to create one manually viaLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(LoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
engineVersion
The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.
- Parameters:
engineVersion- The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
Updated network configuration for the workflow execution environment.
- Parameters:
networkConfiguration- Updated network configuration for the workflow execution environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default UpdateWorkflowRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) Updated network configuration for the workflow execution environment.
This is a convenience method that creates an instance of theNetworkConfiguration.Builderavoiding the need to create one manually viaNetworkConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration).- Parameters:
networkConfiguration- a consumer that will call methods onNetworkConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggerMode
The trigger mode for the workflow execution.
- Parameters:
triggerMode- The trigger mode for the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateWorkflowRequest.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
UpdateWorkflowRequest.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.
-