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

com.pulumi.snowflake.inputs.ProcedurePythonArgumentArgs 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.snowflake.inputs;

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


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

    public static final ProcedurePythonArgumentArgs Empty = new ProcedurePythonArgumentArgs();

    /**
     * The argument type.
     * 
     */
    @Import(name="argDataType", required=true)
    private Output argDataType;

    /**
     * @return The argument type.
     * 
     */
    public Output argDataType() {
        return this.argDataType;
    }

    @Import(name="argDefaultValue")
    private @Nullable Output argDefaultValue;

    public Optional> argDefaultValue() {
        return Optional.ofNullable(this.argDefaultValue);
    }

    /**
     * The argument name. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the procedure definition.
     * 
     */
    @Import(name="argName", required=true)
    private Output argName;

    /**
     * @return The argument name. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the procedure definition.
     * 
     */
    public Output argName() {
        return this.argName;
    }

    private ProcedurePythonArgumentArgs() {}

    private ProcedurePythonArgumentArgs(ProcedurePythonArgumentArgs $) {
        this.argDataType = $.argDataType;
        this.argDefaultValue = $.argDefaultValue;
        this.argName = $.argName;
    }

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

    public static final class Builder {
        private ProcedurePythonArgumentArgs $;

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

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

        /**
         * @param argDataType The argument type.
         * 
         * @return builder
         * 
         */
        public Builder argDataType(Output argDataType) {
            $.argDataType = argDataType;
            return this;
        }

        /**
         * @param argDataType The argument type.
         * 
         * @return builder
         * 
         */
        public Builder argDataType(String argDataType) {
            return argDataType(Output.of(argDataType));
        }

        public Builder argDefaultValue(@Nullable Output argDefaultValue) {
            $.argDefaultValue = argDefaultValue;
            return this;
        }

        public Builder argDefaultValue(String argDefaultValue) {
            return argDefaultValue(Output.of(argDefaultValue));
        }

        /**
         * @param argName The argument name. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the procedure definition.
         * 
         * @return builder
         * 
         */
        public Builder argName(Output argName) {
            $.argName = argName;
            return this;
        }

        /**
         * @param argName The argument name. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the procedure definition.
         * 
         * @return builder
         * 
         */
        public Builder argName(String argName) {
            return argName(Output.of(argName));
        }

        public ProcedurePythonArgumentArgs build() {
            if ($.argDataType == null) {
                throw new MissingRequiredPropertyException("ProcedurePythonArgumentArgs", "argDataType");
            }
            if ($.argName == null) {
                throw new MissingRequiredPropertyException("ProcedurePythonArgumentArgs", "argName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy