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

com.pulumi.googlenative.dataplex.v1.inputs.GoogleCloudDataplexV1ContentSqlScriptArgs 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.googlenative.dataplex.v1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.googlenative.dataplex.v1.enums.GoogleCloudDataplexV1ContentSqlScriptEngine;
import java.util.Objects;


/**
 * Configuration for the Sql Script content.
 * 
 */
public final class GoogleCloudDataplexV1ContentSqlScriptArgs extends com.pulumi.resources.ResourceArgs {

    public static final GoogleCloudDataplexV1ContentSqlScriptArgs Empty = new GoogleCloudDataplexV1ContentSqlScriptArgs();

    /**
     * Query Engine to be used for the Sql Query.
     * 
     */
    @Import(name="engine", required=true)
    private Output engine;

    /**
     * @return Query Engine to be used for the Sql Query.
     * 
     */
    public Output engine() {
        return this.engine;
    }

    private GoogleCloudDataplexV1ContentSqlScriptArgs() {}

    private GoogleCloudDataplexV1ContentSqlScriptArgs(GoogleCloudDataplexV1ContentSqlScriptArgs $) {
        this.engine = $.engine;
    }

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

    public static final class Builder {
        private GoogleCloudDataplexV1ContentSqlScriptArgs $;

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

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

        /**
         * @param engine Query Engine to be used for the Sql Query.
         * 
         * @return builder
         * 
         */
        public Builder engine(Output engine) {
            $.engine = engine;
            return this;
        }

        /**
         * @param engine Query Engine to be used for the Sql Query.
         * 
         * @return builder
         * 
         */
        public Builder engine(GoogleCloudDataplexV1ContentSqlScriptEngine engine) {
            return engine(Output.of(engine));
        }

        public GoogleCloudDataplexV1ContentSqlScriptArgs build() {
            $.engine = Objects.requireNonNull($.engine, "expected parameter 'engine' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy