Interface Workflow.Builder

    • Method Detail

      • name

        Workflow.Builder name​(String 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

        Workflow.Builder description​(String description)

        A description of the workflow.

        Parameters:
        description - A description of the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultRunProperties

        Workflow.Builder defaultRunProperties​(Map<String,​String> defaultRunProperties)

        A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.

        Parameters:
        defaultRunProperties - A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdOn

        Workflow.Builder createdOn​(Instant createdOn)

        The date and time when the workflow was created.

        Parameters:
        createdOn - The date and time when the workflow was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedOn

        Workflow.Builder lastModifiedOn​(Instant lastModifiedOn)

        The date and time when the workflow was last modified.

        Parameters:
        lastModifiedOn - The date and time when the workflow was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastRun

        Workflow.Builder lastRun​(WorkflowRun lastRun)

        The information about the last execution of the workflow.

        Parameters:
        lastRun - The information about the last execution of the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • graph

        Workflow.Builder graph​(WorkflowGraph graph)

        The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.

        Parameters:
        graph - The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxConcurrentRuns

        Workflow.Builder maxConcurrentRuns​(Integer maxConcurrentRuns)

        You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.

        Parameters:
        maxConcurrentRuns - You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • blueprintDetails

        Workflow.Builder blueprintDetails​(BlueprintDetails blueprintDetails)

        This structure indicates the details of the blueprint that this particular workflow is created from.

        Parameters:
        blueprintDetails - This structure indicates the details of the blueprint that this particular workflow is created from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.