Interface GetWorkflowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWorkflowResponse.Builder,,GetWorkflowResponse> MwaaServerlessResponse.Builder,SdkBuilder<GetWorkflowResponse.Builder,,GetWorkflowResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetWorkflowResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the workflow was created, in ISO 8601 date-time format.default GetWorkflowResponse.BuilderdefinitionS3Location(Consumer<DefinitionS3Location.Builder> definitionS3Location) The Amazon S3 location of the workflow definition file.definitionS3Location(DefinitionS3Location definitionS3Location) The Amazon S3 location of the workflow definition file.description(String description) The description of the workflow.default GetWorkflowResponse.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the workflow.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration for the workflow.engineVersion(Integer engineVersion) The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that this workflow uses.default GetWorkflowResponse.BuilderloggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The logging configuration for the workflow.loggingConfiguration(LoggingConfiguration loggingConfiguration) The logging configuration for the workflow.modifiedAt(Instant modifiedAt) The timestamp when the workflow was last modified, in ISO 8601 date-time format.The name of the workflow.default GetWorkflowResponse.BuildernetworkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) The network configuration for the workflow execution environment.networkConfiguration(NetworkConfiguration networkConfiguration) The network configuration for the workflow execution environment.The Amazon Resource Name (ARN) of the IAM role used for workflow execution.default GetWorkflowResponse.BuilderscheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration for the workflow, including cron expressions for automated execution.scheduleConfiguration(ScheduleConfiguration scheduleConfiguration) The schedule configuration for the workflow, including cron expressions for automated execution.triggerMode(String triggerMode) The trigger mode for the workflow execution.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow.workflowDefinition(String workflowDefinition) The workflow definition content.workflowStatus(String workflowStatus) The current status of the workflow.workflowStatus(WorkflowStatus workflowStatus) The current status of the workflow.workflowVersion(String workflowVersion) The version identifier of the workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mwaaserverless.model.MwaaServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
workflowArn
The Amazon Resource Name (ARN) of the workflow.
- Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowVersion
The version identifier of the workflow.
- Parameters:
workflowVersion- The version identifier of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the workflow.
- Parameters:
name- The name of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the workflow.
- Parameters:
description- The description of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the workflow was created, in ISO 8601 date-time format.
- Parameters:
createdAt- The timestamp when the workflow was created, in ISO 8601 date-time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The timestamp when the workflow was last modified, in ISO 8601 date-time format.
- Parameters:
modifiedAt- The timestamp when the workflow was last modified, in ISO 8601 date-time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
GetWorkflowResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration for the workflow.
- Parameters:
encryptionConfiguration- The encryption configuration for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default GetWorkflowResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration for the workflow.
This is a convenience method that creates an instance of theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingConfiguration
The logging configuration for the workflow.
- Parameters:
loggingConfiguration- The logging configuration for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default GetWorkflowResponse.Builder loggingConfiguration(Consumer<LoggingConfiguration.Builder> loggingConfiguration) The 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 this workflow uses.
- Parameters:
engineVersion- The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that this workflow uses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowStatus
The current status of the workflow.
- Parameters:
workflowStatus- The current status of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowStatus
The current status of the workflow.
- Parameters:
workflowStatus- The current status of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
definitionS3Location
The Amazon S3 location of the workflow definition file.
- Parameters:
definitionS3Location- The Amazon S3 location of the workflow definition file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitionS3Location
default GetWorkflowResponse.Builder definitionS3Location(Consumer<DefinitionS3Location.Builder> definitionS3Location) The Amazon S3 location of the workflow definition file.
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:
-
scheduleConfiguration
The schedule configuration for the workflow, including cron expressions for automated execution. Amazon Managed Workflows for Apache Airflow Serverless uses EventBridge Scheduler for cost-effective, timezone-aware scheduling. When a workflow includes schedule information in its YAML definition, the service automatically configures the appropriate triggers for automated execution. Only one version of a workflow can have an active schedule at any given time.
- Parameters:
scheduleConfiguration- The schedule configuration for the workflow, including cron expressions for automated execution. Amazon Managed Workflows for Apache Airflow Serverless uses EventBridge Scheduler for cost-effective, timezone-aware scheduling. When a workflow includes schedule information in its YAML definition, the service automatically configures the appropriate triggers for automated execution. Only one version of a workflow can have an active schedule at any given time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleConfiguration
default GetWorkflowResponse.Builder scheduleConfiguration(Consumer<ScheduleConfiguration.Builder> scheduleConfiguration) The schedule configuration for the workflow, including cron expressions for automated execution. Amazon Managed Workflows for Apache Airflow Serverless uses EventBridge Scheduler for cost-effective, timezone-aware scheduling. When a workflow includes schedule information in its YAML definition, the service automatically configures the appropriate triggers for automated execution. Only one version of a workflow can have an active schedule at any given time.
This is a convenience method that creates an instance of theScheduleConfiguration.Builderavoiding the need to create one manually viaScheduleConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscheduleConfiguration(ScheduleConfiguration).- Parameters:
scheduleConfiguration- a consumer that will call methods onScheduleConfiguration.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 used for workflow execution.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used for workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
The network configuration for the workflow execution environment.
- Parameters:
networkConfiguration- The network configuration for the workflow execution environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default GetWorkflowResponse.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) The 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.
-
workflowDefinition
The workflow definition content.
- Parameters:
workflowDefinition- The workflow definition content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-