Interface GetWorkflowResponse.Builder

  • Method Details

    • workflowArn

      GetWorkflowResponse.Builder workflowArn(String 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

      GetWorkflowResponse.Builder workflowVersion(String 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

      GetWorkflowResponse.Builder description(String 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

      GetWorkflowResponse.Builder createdAt(Instant 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

      GetWorkflowResponse.Builder modifiedAt(Instant 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 the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • loggingConfiguration

      GetWorkflowResponse.Builder loggingConfiguration(LoggingConfiguration 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 the LoggingConfiguration.Builder avoiding the need to create one manually via LoggingConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to loggingConfiguration(LoggingConfiguration).

      Parameters:
      loggingConfiguration - a consumer that will call methods on LoggingConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • engineVersion

      GetWorkflowResponse.Builder engineVersion(Integer 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

      GetWorkflowResponse.Builder workflowStatus(String 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

      GetWorkflowResponse.Builder workflowStatus(WorkflowStatus 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

      GetWorkflowResponse.Builder definitionS3Location(DefinitionS3Location 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 the DefinitionS3Location.Builder avoiding the need to create one manually via DefinitionS3Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to definitionS3Location(DefinitionS3Location).

      Parameters:
      definitionS3Location - a consumer that will call methods on DefinitionS3Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheduleConfiguration

      GetWorkflowResponse.Builder scheduleConfiguration(ScheduleConfiguration 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 the ScheduleConfiguration.Builder avoiding the need to create one manually via ScheduleConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scheduleConfiguration(ScheduleConfiguration).

      Parameters:
      scheduleConfiguration - a consumer that will call methods on ScheduleConfiguration.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

      GetWorkflowResponse.Builder networkConfiguration(NetworkConfiguration 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 the NetworkConfiguration.Builder avoiding the need to create one manually via NetworkConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to networkConfiguration(NetworkConfiguration).

      Parameters:
      networkConfiguration - a consumer that will call methods on NetworkConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • triggerMode

      GetWorkflowResponse.Builder triggerMode(String 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

      GetWorkflowResponse.Builder workflowDefinition(String 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.