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

com.pulumi.azurenative.datafactory.inputs.BigDataPoolParametrizationReferenceArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.azurenative.datafactory.enums.BigDataPoolReferenceType;
import com.pulumi.core.Either;
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.Objects;


/**
 * Big data pool reference type.
 * 
 */
public final class BigDataPoolParametrizationReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final BigDataPoolParametrizationReferenceArgs Empty = new BigDataPoolParametrizationReferenceArgs();

    /**
     * Reference big data pool name. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="referenceName", required=true)
    private Output referenceName;

    /**
     * @return Reference big data pool name. Type: string (or Expression with resultType string).
     * 
     */
    public Output referenceName() {
        return this.referenceName;
    }

    /**
     * Big data pool reference type.
     * 
     */
    @Import(name="type", required=true)
    private Output> type;

    /**
     * @return Big data pool reference type.
     * 
     */
    public Output> type() {
        return this.type;
    }

    private BigDataPoolParametrizationReferenceArgs() {}

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

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

    public static final class Builder {
        private BigDataPoolParametrizationReferenceArgs $;

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

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

        /**
         * @param referenceName Reference big data pool name. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder referenceName(Output referenceName) {
            $.referenceName = referenceName;
            return this;
        }

        /**
         * @param referenceName Reference big data pool name. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder referenceName(Object referenceName) {
            return referenceName(Output.of(referenceName));
        }

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

        /**
         * @param type Big data pool reference type.
         * 
         * @return builder
         * 
         */
        public Builder type(Either type) {
            return type(Output.of(type));
        }

        /**
         * @param type Big data pool reference type.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Either.ofLeft(type));
        }

        /**
         * @param type Big data pool reference type.
         * 
         * @return builder
         * 
         */
        public Builder type(BigDataPoolReferenceType type) {
            return type(Either.ofRight(type));
        }

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

}