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

com.pulumi.snowflake.inputs.GetFileFormatsPlainArgs Maven / Gradle / Ivy

The 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.snowflake.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetFileFormatsPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetFileFormatsPlainArgs Empty = new GetFileFormatsPlainArgs();

    /**
     * The database from which to return the schemas from.
     * 
     */
    @Import(name="database", required=true)
    private String database;

    /**
     * @return The database from which to return the schemas from.
     * 
     */
    public String database() {
        return this.database;
    }

    /**
     * The schema from which to return the file formats from.
     * 
     */
    @Import(name="schema", required=true)
    private String schema;

    /**
     * @return The schema from which to return the file formats from.
     * 
     */
    public String schema() {
        return this.schema;
    }

    private GetFileFormatsPlainArgs() {}

    private GetFileFormatsPlainArgs(GetFileFormatsPlainArgs $) {
        this.database = $.database;
        this.schema = $.schema;
    }

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

    public static final class Builder {
        private GetFileFormatsPlainArgs $;

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

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

        /**
         * @param database The database from which to return the schemas from.
         * 
         * @return builder
         * 
         */
        public Builder database(String database) {
            $.database = database;
            return this;
        }

        /**
         * @param schema The schema from which to return the file formats from.
         * 
         * @return builder
         * 
         */
        public Builder schema(String schema) {
            $.schema = schema;
            return this;
        }

        public GetFileFormatsPlainArgs build() {
            if ($.database == null) {
                throw new MissingRequiredPropertyException("GetFileFormatsPlainArgs", "database");
            }
            if ($.schema == null) {
                throw new MissingRequiredPropertyException("GetFileFormatsPlainArgs", "schema");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy