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

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

// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataFlowSourceLinkedServiceArgs Empty = new DataFlowSourceLinkedServiceArgs();

    /**
     * The name for the Data Factory Linked Service.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name for the Data Factory Linked Service.
     * 
     */
    public Output name() {
        return this.name;
    }

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

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

    private DataFlowSourceLinkedServiceArgs() {}

    private DataFlowSourceLinkedServiceArgs(DataFlowSourceLinkedServiceArgs $) {
        this.name = $.name;
        this.parameters = $.parameters;
    }

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

    public static final class Builder {
        private DataFlowSourceLinkedServiceArgs $;

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

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

        /**
         * @param name The name for the Data Factory Linked Service.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

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

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

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

        public DataFlowSourceLinkedServiceArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("DataFlowSourceLinkedServiceArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy