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

com.pulumi.aws.quicksight.inputs.DataSetPhysicalTableMapRelationalTableArgs 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.aws.quicksight.inputs.DataSetPhysicalTableMapRelationalTableInputColumnArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataSetPhysicalTableMapRelationalTableArgs Empty = new DataSetPhysicalTableMapRelationalTableArgs();

    /**
     * Catalog associated with the table.
     * 
     */
    @Import(name="catalog")
    private @Nullable Output catalog;

    /**
     * @return Catalog associated with the table.
     * 
     */
    public Optional> catalog() {
        return Optional.ofNullable(this.catalog);
    }

    /**
     * ARN of the data source.
     * 
     */
    @Import(name="dataSourceArn", required=true)
    private Output dataSourceArn;

    /**
     * @return ARN of the data source.
     * 
     */
    public Output dataSourceArn() {
        return this.dataSourceArn;
    }

    /**
     * Column schema of the table. See input_columns.
     * 
     */
    @Import(name="inputColumns", required=true)
    private Output> inputColumns;

    /**
     * @return Column schema of the table. See input_columns.
     * 
     */
    public Output> inputColumns() {
        return this.inputColumns;
    }

    /**
     * Name of the relational table.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name of the relational table.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Schema name. This name applies to certain relational database engines.
     * 
     */
    @Import(name="schema")
    private @Nullable Output schema;

    /**
     * @return Schema name. This name applies to certain relational database engines.
     * 
     */
    public Optional> schema() {
        return Optional.ofNullable(this.schema);
    }

    private DataSetPhysicalTableMapRelationalTableArgs() {}

    private DataSetPhysicalTableMapRelationalTableArgs(DataSetPhysicalTableMapRelationalTableArgs $) {
        this.catalog = $.catalog;
        this.dataSourceArn = $.dataSourceArn;
        this.inputColumns = $.inputColumns;
        this.name = $.name;
        this.schema = $.schema;
    }

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

    public static final class Builder {
        private DataSetPhysicalTableMapRelationalTableArgs $;

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

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

        /**
         * @param catalog Catalog associated with the table.
         * 
         * @return builder
         * 
         */
        public Builder catalog(@Nullable Output catalog) {
            $.catalog = catalog;
            return this;
        }

        /**
         * @param catalog Catalog associated with the table.
         * 
         * @return builder
         * 
         */
        public Builder catalog(String catalog) {
            return catalog(Output.of(catalog));
        }

        /**
         * @param dataSourceArn ARN of the data source.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceArn(Output dataSourceArn) {
            $.dataSourceArn = dataSourceArn;
            return this;
        }

        /**
         * @param dataSourceArn ARN of the data source.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceArn(String dataSourceArn) {
            return dataSourceArn(Output.of(dataSourceArn));
        }

        /**
         * @param inputColumns Column schema of the table. See input_columns.
         * 
         * @return builder
         * 
         */
        public Builder inputColumns(Output> inputColumns) {
            $.inputColumns = inputColumns;
            return this;
        }

        /**
         * @param inputColumns Column schema of the table. See input_columns.
         * 
         * @return builder
         * 
         */
        public Builder inputColumns(List inputColumns) {
            return inputColumns(Output.of(inputColumns));
        }

        /**
         * @param inputColumns Column schema of the table. See input_columns.
         * 
         * @return builder
         * 
         */
        public Builder inputColumns(DataSetPhysicalTableMapRelationalTableInputColumnArgs... inputColumns) {
            return inputColumns(List.of(inputColumns));
        }

        /**
         * @param name Name of the relational table.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of the relational table.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param schema Schema name. This name applies to certain relational database engines.
         * 
         * @return builder
         * 
         */
        public Builder schema(@Nullable Output schema) {
            $.schema = schema;
            return this;
        }

        /**
         * @param schema Schema name. This name applies to certain relational database engines.
         * 
         * @return builder
         * 
         */
        public Builder schema(String schema) {
            return schema(Output.of(schema));
        }

        public DataSetPhysicalTableMapRelationalTableArgs build() {
            if ($.dataSourceArn == null) {
                throw new MissingRequiredPropertyException("DataSetPhysicalTableMapRelationalTableArgs", "dataSourceArn");
            }
            if ($.inputColumns == null) {
                throw new MissingRequiredPropertyException("DataSetPhysicalTableMapRelationalTableArgs", "inputColumns");
            }
            if ($.name == null) {
                throw new MissingRequiredPropertyException("DataSetPhysicalTableMapRelationalTableArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy