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

com.pulumi.aws.quicksight.inputs.DataSourceParametersRedshiftArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.quicksight.inputs;

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


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

    public static final DataSourceParametersRedshiftArgs Empty = new DataSourceParametersRedshiftArgs();

    /**
     * The ID of the cluster to which to connect.
     * 
     */
    @Import(name="clusterId")
    private @Nullable Output clusterId;

    /**
     * @return The ID of the cluster to which to connect.
     * 
     */
    public Optional> clusterId() {
        return Optional.ofNullable(this.clusterId);
    }

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

    /**
     * @return The database to which to connect.
     * 
     */
    public Output database() {
        return this.database;
    }

    /**
     * The host to which to connect.
     * 
     */
    @Import(name="host")
    private @Nullable Output host;

    /**
     * @return The host to which to connect.
     * 
     */
    public Optional> host() {
        return Optional.ofNullable(this.host);
    }

    /**
     * The port to which to connect.
     * 
     */
    @Import(name="port")
    private @Nullable Output port;

    /**
     * @return The port to which to connect.
     * 
     */
    public Optional> port() {
        return Optional.ofNullable(this.port);
    }

    private DataSourceParametersRedshiftArgs() {}

    private DataSourceParametersRedshiftArgs(DataSourceParametersRedshiftArgs $) {
        this.clusterId = $.clusterId;
        this.database = $.database;
        this.host = $.host;
        this.port = $.port;
    }

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

    public static final class Builder {
        private DataSourceParametersRedshiftArgs $;

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

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

        /**
         * @param clusterId The ID of the cluster to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder clusterId(@Nullable Output clusterId) {
            $.clusterId = clusterId;
            return this;
        }

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

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

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

        /**
         * @param host The host to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder host(@Nullable Output 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 port to which to connect.
         * 
         * @return builder
         * 
         */
        public Builder port(@Nullable Output port) {
            $.port = port;
            return this;
        }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy