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

com.pulumi.azure.datafactory.inputs.PipelineState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.datafactory.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
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 PipelineState extends com.pulumi.resources.ResourceArgs {

    public static final PipelineState Empty = new PipelineState();

    /**
     * A JSON object that contains the activities that will be associated with the Data Factory Pipeline.
     * 
     */
    @Import(name="activitiesJson")
    private @Nullable Output activitiesJson;

    /**
     * @return A JSON object that contains the activities that will be associated with the Data Factory Pipeline.
     * 
     */
    public Optional> activitiesJson() {
        return Optional.ofNullable(this.activitiesJson);
    }

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

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

    /**
     * The max number of concurrent runs for the Data Factory Pipeline. Must be between `1` and `50`.
     * 
     */
    @Import(name="concurrency")
    private @Nullable Output concurrency;

    /**
     * @return The max number of concurrent runs for the Data Factory Pipeline. Must be between `1` and `50`.
     * 
     */
    public Optional> concurrency() {
        return Optional.ofNullable(this.concurrency);
    }

    /**
     * The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
     * 
     */
    @Import(name="dataFactoryId")
    private @Nullable Output dataFactoryId;

    /**
     * @return The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
     * 
     */
    public Optional> dataFactoryId() {
        return Optional.ofNullable(this.dataFactoryId);
    }

    /**
     * The description for the Data Factory Pipeline.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description for the Data Factory Pipeline.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The folder that this Pipeline is in. If not specified, the 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, the Pipeline will appear at the root level.
     * 
     */
    public Optional> folder() {
        return Optional.ofNullable(this.folder);
    }

    /**
     * The TimeSpan value after which an Azure Monitoring Metric is fired.
     * 
     */
    @Import(name="moniterMetricsAfterDuration")
    private @Nullable Output moniterMetricsAfterDuration;

    /**
     * @return The TimeSpan value after which an Azure Monitoring Metric is fired.
     * 
     */
    public Optional> moniterMetricsAfterDuration() {
        return Optional.ofNullable(this.moniterMetricsAfterDuration);
    }

    /**
     * Specifies the name of the Data Factory Pipeline. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Data Factory Pipeline. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * A map of parameters to associate with the Data Factory Pipeline.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return A map of parameters to associate with the Data Factory Pipeline.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * A map of variables to associate with the Data Factory Pipeline.
     * 
     */
    @Import(name="variables")
    private @Nullable Output> variables;

    /**
     * @return A map of variables to associate with the Data Factory Pipeline.
     * 
     */
    public Optional>> variables() {
        return Optional.ofNullable(this.variables);
    }

    private PipelineState() {}

    private PipelineState(PipelineState $) {
        this.activitiesJson = $.activitiesJson;
        this.annotations = $.annotations;
        this.concurrency = $.concurrency;
        this.dataFactoryId = $.dataFactoryId;
        this.description = $.description;
        this.folder = $.folder;
        this.moniterMetricsAfterDuration = $.moniterMetricsAfterDuration;
        this.name = $.name;
        this.parameters = $.parameters;
        this.variables = $.variables;
    }

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

    public static final class Builder {
        private PipelineState $;

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

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

        /**
         * @param activitiesJson A JSON object that contains the activities that will be associated with the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder activitiesJson(@Nullable Output activitiesJson) {
            $.activitiesJson = activitiesJson;
            return this;
        }

        /**
         * @param activitiesJson A JSON object that contains the activities that will be associated with the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder activitiesJson(String activitiesJson) {
            return activitiesJson(Output.of(activitiesJson));
        }

        /**
         * @param annotations List of tags that can be used for describing the Data Factory 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 Data Factory 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 Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder annotations(String... annotations) {
            return annotations(List.of(annotations));
        }

        /**
         * @param concurrency The max number of concurrent runs for the Data Factory Pipeline. Must be between `1` and `50`.
         * 
         * @return builder
         * 
         */
        public Builder concurrency(@Nullable Output concurrency) {
            $.concurrency = concurrency;
            return this;
        }

        /**
         * @param concurrency The max number of concurrent runs for the Data Factory Pipeline. Must be between `1` and `50`.
         * 
         * @return builder
         * 
         */
        public Builder concurrency(Integer concurrency) {
            return concurrency(Output.of(concurrency));
        }

        /**
         * @param dataFactoryId The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
         * 
         * @return builder
         * 
         */
        public Builder dataFactoryId(@Nullable Output dataFactoryId) {
            $.dataFactoryId = dataFactoryId;
            return this;
        }

        /**
         * @param dataFactoryId The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
         * 
         * @return builder
         * 
         */
        public Builder dataFactoryId(String dataFactoryId) {
            return dataFactoryId(Output.of(dataFactoryId));
        }

        /**
         * @param description The description for the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

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

        /**
         * @param folder The folder that this Pipeline is in. If not specified, the 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, the Pipeline will appear at the root level.
         * 
         * @return builder
         * 
         */
        public Builder folder(String folder) {
            return folder(Output.of(folder));
        }

        /**
         * @param moniterMetricsAfterDuration The TimeSpan value after which an Azure Monitoring Metric is fired.
         * 
         * @return builder
         * 
         */
        public Builder moniterMetricsAfterDuration(@Nullable Output moniterMetricsAfterDuration) {
            $.moniterMetricsAfterDuration = moniterMetricsAfterDuration;
            return this;
        }

        /**
         * @param moniterMetricsAfterDuration The TimeSpan value after which an Azure Monitoring Metric is fired.
         * 
         * @return builder
         * 
         */
        public Builder moniterMetricsAfterDuration(String moniterMetricsAfterDuration) {
            return moniterMetricsAfterDuration(Output.of(moniterMetricsAfterDuration));
        }

        /**
         * @param name Specifies the name of the Data Factory Pipeline. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Data Factory Pipeline. Changing this forces a new resource to be created. Must be globally unique. See the [Microsoft documentation](https://docs.microsoft.com/azure/data-factory/naming-rules) for all restrictions.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param parameters A map of parameters to associate with the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder parameters(@Nullable Output> parameters) {
            $.parameters = parameters;
            return this;
        }

        /**
         * @param parameters A map of parameters to associate with the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder parameters(Map parameters) {
            return parameters(Output.of(parameters));
        }

        /**
         * @param variables A map of variables to associate with the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder variables(@Nullable Output> variables) {
            $.variables = variables;
            return this;
        }

        /**
         * @param variables A map of variables to associate with the Data Factory Pipeline.
         * 
         * @return builder
         * 
         */
        public Builder variables(Map variables) {
            return variables(Output.of(variables));
        }

        public PipelineState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy