// *** 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.aws.quicksight.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;


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

    public static final DataSourceParametersSparkArgs Empty = new DataSourceParametersSparkArgs();

    /**
     * The host to which to connect.
     * 
     */
    @Import(name="host", required=true)
    private Output<String> host;

    /**
     * @return The host to which to connect.
     * 
     */
    public Output<String> host() {
        return this.host;
    }

    /**
     * The warehouse to which to connect.
     * 
     */
    @Import(name="port", required=true)
    private Output<Integer> port;

    /**
     * @return The warehouse to which to connect.
     * 
     */
    public Output<Integer> port() {
        return this.port;
    }

    private DataSourceParametersSparkArgs() {}

    private DataSourceParametersSparkArgs(DataSourceParametersSparkArgs $) {
        this.host = $.host;
        this.port = $.port;
    }

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

    public static final class Builder {
        private DataSourceParametersSparkArgs $;

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

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

        /**
         * @param host The host to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder host(Output<String> host) {
            $.host = host;
            return this;
        }

        /**
         * @param host The host to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder host(String host) {
            return host(Output.of(host));
        }

        /**
         * @param port The warehouse to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder port(Output<Integer> port) {
            $.port = port;
            return this;
        }

        /**
         * @param port The warehouse to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder port(Integer port) {
            return port(Output.of(port));
        }

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

}
