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

com.pulumi.azurenative.datafactory.inputs.DatasetReferenceArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Dataset reference type.
 * 
 */
public final class DatasetReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final DatasetReferenceArgs Empty = new DatasetReferenceArgs();

    /**
     * Arguments for dataset.
     * 
     */
    @Import(name="parameters")
    private @Nullable Output> parameters;

    /**
     * @return Arguments for dataset.
     * 
     */
    public Optional>> parameters() {
        return Optional.ofNullable(this.parameters);
    }

    /**
     * Reference dataset name.
     * 
     */
    @Import(name="referenceName", required=true)
    private Output referenceName;

    /**
     * @return Reference dataset name.
     * 
     */
    public Output referenceName() {
        return this.referenceName;
    }

    /**
     * Dataset reference type.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Dataset reference type.
     * 
     */
    public Output type() {
        return this.type;
    }

    private DatasetReferenceArgs() {}

    private DatasetReferenceArgs(DatasetReferenceArgs $) {
        this.parameters = $.parameters;
        this.referenceName = $.referenceName;
        this.type = $.type;
    }

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

    public static final class Builder {
        private DatasetReferenceArgs $;

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

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

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

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

        /**
         * @param referenceName Reference dataset name.
         * 
         * @return builder
         * 
         */
        public Builder referenceName(Output referenceName) {
            $.referenceName = referenceName;
            return this;
        }

        /**
         * @param referenceName Reference dataset name.
         * 
         * @return builder
         * 
         */
        public Builder referenceName(String referenceName) {
            return referenceName(Output.of(referenceName));
        }

        /**
         * @param type Dataset reference type.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Dataset reference type.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public DatasetReferenceArgs build() {
            if ($.referenceName == null) {
                throw new MissingRequiredPropertyException("DatasetReferenceArgs", "referenceName");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("DatasetReferenceArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy