Class Pipeline


  • public final class Pipeline
    extends Object
    A data factory pipeline.
    • Constructor Detail

      • Pipeline

        public Pipeline()
    • Method Detail

      • description

        public String description()
        Get the description property: The description of the pipeline.
        Returns:
        the description value.
      • withDescription

        public Pipeline withDescription​(String description)
        Set the description property: The description of the pipeline.
        Parameters:
        description - the description value to set.
        Returns:
        the Pipeline object itself.
      • activities

        public List<Activity> activities()
        Get the activities property: List of activities in pipeline.
        Returns:
        the activities value.
      • withActivities

        public Pipeline withActivities​(List<Activity> activities)
        Set the activities property: List of activities in pipeline.
        Parameters:
        activities - the activities value to set.
        Returns:
        the Pipeline object itself.
      • parameters

        public Map<String,​ParameterSpecification> parameters()
        Get the parameters property: List of parameters for pipeline.
        Returns:
        the parameters value.
      • withParameters

        public Pipeline withParameters​(Map<String,​ParameterSpecification> parameters)
        Set the parameters property: List of parameters for pipeline.
        Parameters:
        parameters - the parameters value to set.
        Returns:
        the Pipeline object itself.
      • variables

        public Map<String,​VariableSpecification> variables()
        Get the variables property: List of variables for pipeline.
        Returns:
        the variables value.
      • withVariables

        public Pipeline withVariables​(Map<String,​VariableSpecification> variables)
        Set the variables property: List of variables for pipeline.
        Parameters:
        variables - the variables value to set.
        Returns:
        the Pipeline object itself.
      • concurrency

        public Integer concurrency()
        Get the concurrency property: The max number of concurrent runs for the pipeline.
        Returns:
        the concurrency value.
      • withConcurrency

        public Pipeline withConcurrency​(Integer concurrency)
        Set the concurrency property: The max number of concurrent runs for the pipeline.
        Parameters:
        concurrency - the concurrency value to set.
        Returns:
        the Pipeline object itself.
      • annotations

        public List<Object> annotations()
        Get the annotations property: List of tags that can be used for describing the Pipeline.
        Returns:
        the annotations value.
      • withAnnotations

        public Pipeline withAnnotations​(List<Object> annotations)
        Set the annotations property: List of tags that can be used for describing the Pipeline.
        Parameters:
        annotations - the annotations value to set.
        Returns:
        the Pipeline object itself.
      • runDimensions

        public Map<String,​Object> runDimensions()
        Get the runDimensions property: Dimensions emitted by Pipeline.
        Returns:
        the runDimensions value.
      • withRunDimensions

        public Pipeline withRunDimensions​(Map<String,​Object> runDimensions)
        Set the runDimensions property: Dimensions emitted by Pipeline.
        Parameters:
        runDimensions - the runDimensions value to set.
        Returns:
        the Pipeline object itself.
      • folder

        public PipelineFolder folder()
        Get the folder property: The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
        Returns:
        the folder value.
      • withFolder

        public Pipeline withFolder​(PipelineFolder folder)
        Set the folder property: The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
        Parameters:
        folder - the folder value to set.
        Returns:
        the Pipeline object itself.
      • policy

        public PipelinePolicy policy()
        Get the policy property: Pipeline Policy.
        Returns:
        the policy value.
      • withPolicy

        public Pipeline withPolicy​(PipelinePolicy policy)
        Set the policy property: Pipeline Policy.
        Parameters:
        policy - the policy value to set.
        Returns:
        the Pipeline object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.