All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.datafactory.PipelineArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.datafactory;

import com.pulumi.azurenative.datafactory.inputs.AppendVariableActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.AzureDataExplorerCommandActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.AzureFunctionActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.AzureMLBatchExecutionActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.AzureMLExecutePipelineActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.AzureMLUpdateResourceActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ControlActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.CopyActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.CustomActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.DataLakeAnalyticsUSQLActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.DatabricksNotebookActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.DatabricksSparkJarActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.DatabricksSparkPythonActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.DeleteActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ExecuteDataFlowActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ExecutePipelineActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ExecuteSSISPackageActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ExecuteWranglingDataflowActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ExecutionActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.FailActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.FilterActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ForEachActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.GetMetadataActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.HDInsightHiveActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.HDInsightMapReduceActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.HDInsightPigActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.HDInsightSparkActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.HDInsightStreamingActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.IfConditionActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.LookupActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ParameterSpecificationArgs;
import com.pulumi.azurenative.datafactory.inputs.PipelineFolderArgs;
import com.pulumi.azurenative.datafactory.inputs.PipelinePolicyArgs;
import com.pulumi.azurenative.datafactory.inputs.ScriptActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.SetVariableActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.SqlServerStoredProcedureActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.SwitchActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.SynapseNotebookActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.SynapseSparkJobDefinitionActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.UntilActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.ValidationActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.VariableSpecificationArgs;
import com.pulumi.azurenative.datafactory.inputs.WaitActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.WebActivityArgs;
import com.pulumi.azurenative.datafactory.inputs.WebHookActivityArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PipelineArgs extends com.pulumi.resources.ResourceArgs {

    public static final PipelineArgs Empty = new PipelineArgs();

    /**
     * List of activities in pipeline.
     * 
     */
    @Import(name="activities")
    private @Nullable Output> activities;

    /**
     * @return List of activities in pipeline.
     * 
     */
    public Optional>> activities() {
        return Optional.ofNullable(this.activities);
    }

    /**
     * List of tags that can be used for describing the Pipeline.
     * 
     */
    @Import(name="annotations")
    private @Nullable Output> annotations;

    /**
     * @return List of tags that can be used for describing the Pipeline.
     * 
     */
    public Optional>> annotations() {
        return Optional.ofNullable(this.annotations);
    }

    /**
     * The max number of concurrent runs for the pipeline.
     * 
     */
    @Import(name="concurrency")
    private @Nullable Output concurrency;

    /**
     * @return The max number of concurrent runs for the pipeline.
     * 
     */
    public Optional> concurrency() {
        return Optional.ofNullable(this.concurrency);
    }

    /**
     * The description of the pipeline.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the pipeline.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The factory name.
     * 
     */
    @Import(name="factoryName", required=true)
    private Output factoryName;

    /**
     * @return The factory name.
     * 
     */
    public Output factoryName() {
        return this.factoryName;
    }

    /**
     * The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
     * 
     */
    @Import(name="folder")
    private @Nullable Output folder;

    /**
     * @return The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
     * 
     */
    public Optional> folder() {
        return Optional.ofNullable(this.folder);
    }

    /**
     * List of parameters for pipeline.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return List of parameters for pipeline.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * The pipeline name.
     * 
     */
    @Import(name="pipelineName")
    private @Nullable Output pipelineName;

    /**
     * @return The pipeline name.
     * 
     */
    public Optional> pipelineName() {
        return Optional.ofNullable(this.pipelineName);
    }

    /**
     * Pipeline Policy.
     * 
     */
    @Import(name="policy")
    private @Nullable Output policy;

    /**
     * @return Pipeline Policy.
     * 
     */
    public Optional> policy() {
        return Optional.ofNullable(this.policy);
    }

    /**
     * The resource group name.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The resource group name.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Dimensions emitted by Pipeline.
     * 
     */
    @Import(name="runDimensions")
    private @Nullable Output> runDimensions;

    /**
     * @return Dimensions emitted by Pipeline.
     * 
     */
    public Optional>> runDimensions() {
        return Optional.ofNullable(this.runDimensions);
    }

    /**
     * List of variables for pipeline.
     * 
     */
    @Import(name="variables")
    private @Nullable Output> variables;

    /**
     * @return List of variables for pipeline.
     * 
     */
    public Optional>> variables() {
        return Optional.ofNullable(this.variables);
    }

    private PipelineArgs() {}

    private PipelineArgs(PipelineArgs $) {
        this.activities = $.activities;
        this.annotations = $.annotations;
        this.concurrency = $.concurrency;
        this.description = $.description;
        this.factoryName = $.factoryName;
        this.folder = $.folder;
        this.parameters = $.parameters;
        this.pipelineName = $.pipelineName;
        this.policy = $.policy;
        this.resourceGroupName = $.resourceGroupName;
        this.runDimensions = $.runDimensions;
        this.variables = $.variables;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PipelineArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PipelineArgs $;

        public Builder() {
            $ = new PipelineArgs();
        }

        public Builder(PipelineArgs defaults) {
            $ = new PipelineArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param activities List of activities in pipeline.
         * 
         * @return builder
         * 
         */
        public Builder activities(@Nullable Output> activities) {
            $.activities = activities;
            return this;
        }

        /**
         * @param activities List of activities in pipeline.
         * 
         * @return builder
         * 
         */
        public Builder activities(List activities) {
            return activities(Output.of(activities));
        }

        /**
         * @param activities List of activities in pipeline.
         * 
         * @return builder
         * 
         */
        public Builder activities(Object... activities) {
            return activities(List.of(activities));
        }

        /**
         * @param annotations List of tags that can be used for describing the Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder annotations(@Nullable Output> annotations) {
            $.annotations = annotations;
            return this;
        }

        /**
         * @param annotations List of tags that can be used for describing the Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder annotations(List annotations) {
            return annotations(Output.of(annotations));
        }

        /**
         * @param annotations List of tags that can be used for describing the Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder annotations(Object... annotations) {
            return annotations(List.of(annotations));
        }

        /**
         * @param concurrency The max number of concurrent runs for the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder concurrency(@Nullable Output concurrency) {
            $.concurrency = concurrency;
            return this;
        }

        /**
         * @param concurrency The max number of concurrent runs for the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder concurrency(Integer concurrency) {
            return concurrency(Output.of(concurrency));
        }

        /**
         * @param description The description of the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the pipeline.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param factoryName The factory name.
         * 
         * @return builder
         * 
         */
        public Builder factoryName(Output factoryName) {
            $.factoryName = factoryName;
            return this;
        }

        /**
         * @param factoryName The factory name.
         * 
         * @return builder
         * 
         */
        public Builder factoryName(String factoryName) {
            return factoryName(Output.of(factoryName));
        }

        /**
         * @param folder The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
         * 
         * @return builder
         * 
         */
        public Builder folder(@Nullable Output folder) {
            $.folder = folder;
            return this;
        }

        /**
         * @param folder The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.
         * 
         * @return builder
         * 
         */
        public Builder folder(PipelineFolderArgs folder) {
            return folder(Output.of(folder));
        }

        /**
         * @param parameters List of parameters for pipeline.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters List of parameters for pipeline.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Map parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param pipelineName The pipeline name.
         * 
         * @return builder
         * 
         */
        public Builder pipelineName(@Nullable Output pipelineName) {
            $.pipelineName = pipelineName;
            return this;
        }

        /**
         * @param pipelineName The pipeline name.
         * 
         * @return builder
         * 
         */
        public Builder pipelineName(String pipelineName) {
            return pipelineName(Output.of(pipelineName));
        }

        /**
         * @param policy Pipeline Policy.
         * 
         * @return builder
         * 
         */
        public Builder policy(@Nullable Output policy) {
            $.policy = policy;
            return this;
        }

        /**
         * @param policy Pipeline Policy.
         * 
         * @return builder
         * 
         */
        public Builder policy(PipelinePolicyArgs policy) {
            return policy(Output.of(policy));
        }

        /**
         * @param resourceGroupName The resource group name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The resource group name.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param runDimensions Dimensions emitted by Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder runDimensions(@Nullable Output> runDimensions) {
            $.runDimensions = runDimensions;
            return this;
        }

        /**
         * @param runDimensions Dimensions emitted by Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder runDimensions(Map runDimensions) {
            return runDimensions(Output.of(runDimensions));
        }

        /**
         * @param variables List of variables for pipeline.
         * 
         * @return builder
         * 
         */
        public Builder variables(@Nullable Output> variables) {
            $.variables = variables;
            return this;
        }

        /**
         * @param variables List of variables for pipeline.
         * 
         * @return builder
         * 
         */
        public Builder variables(Map variables) {
            return variables(Output.of(variables));
        }

        public PipelineArgs build() {
            if ($.factoryName == null) {
                throw new MissingRequiredPropertyException("PipelineArgs", "factoryName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("PipelineArgs", "resourceGroupName");
            }
            return $;
        }
    }

}