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

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

Go to download

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

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

import com.pulumi.aws.quicksight.inputs.DataSetPhysicalTableMapCustomSqlArgs;
import com.pulumi.aws.quicksight.inputs.DataSetPhysicalTableMapRelationalTableArgs;
import com.pulumi.aws.quicksight.inputs.DataSetPhysicalTableMapS3SourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataSetPhysicalTableMapArgs Empty = new DataSetPhysicalTableMapArgs();

    /**
     * A physical table type built from the results of the custom SQL query. See custom_sql.
     * 
     */
    @Import(name="customSql")
    private @Nullable Output customSql;

    /**
     * @return A physical table type built from the results of the custom SQL query. See custom_sql.
     * 
     */
    public Optional> customSql() {
        return Optional.ofNullable(this.customSql);
    }

    /**
     * Key of the physical table map.
     * 
     */
    @Import(name="physicalTableMapId", required=true)
    private Output physicalTableMapId;

    /**
     * @return Key of the physical table map.
     * 
     */
    public Output physicalTableMapId() {
        return this.physicalTableMapId;
    }

    /**
     * A physical table type for relational data sources. See relational_table.
     * 
     */
    @Import(name="relationalTable")
    private @Nullable Output relationalTable;

    /**
     * @return A physical table type for relational data sources. See relational_table.
     * 
     */
    public Optional> relationalTable() {
        return Optional.ofNullable(this.relationalTable);
    }

    /**
     * A physical table type for as S3 data source. See s3_source.
     * 
     */
    @Import(name="s3Source")
    private @Nullable Output s3Source;

    /**
     * @return A physical table type for as S3 data source. See s3_source.
     * 
     */
    public Optional> s3Source() {
        return Optional.ofNullable(this.s3Source);
    }

    private DataSetPhysicalTableMapArgs() {}

    private DataSetPhysicalTableMapArgs(DataSetPhysicalTableMapArgs $) {
        this.customSql = $.customSql;
        this.physicalTableMapId = $.physicalTableMapId;
        this.relationalTable = $.relationalTable;
        this.s3Source = $.s3Source;
    }

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

    public static final class Builder {
        private DataSetPhysicalTableMapArgs $;

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

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

        /**
         * @param customSql A physical table type built from the results of the custom SQL query. See custom_sql.
         * 
         * @return builder
         * 
         */
        public Builder customSql(@Nullable Output customSql) {
            $.customSql = customSql;
            return this;
        }

        /**
         * @param customSql A physical table type built from the results of the custom SQL query. See custom_sql.
         * 
         * @return builder
         * 
         */
        public Builder customSql(DataSetPhysicalTableMapCustomSqlArgs customSql) {
            return customSql(Output.of(customSql));
        }

        /**
         * @param physicalTableMapId Key of the physical table map.
         * 
         * @return builder
         * 
         */
        public Builder physicalTableMapId(Output physicalTableMapId) {
            $.physicalTableMapId = physicalTableMapId;
            return this;
        }

        /**
         * @param physicalTableMapId Key of the physical table map.
         * 
         * @return builder
         * 
         */
        public Builder physicalTableMapId(String physicalTableMapId) {
            return physicalTableMapId(Output.of(physicalTableMapId));
        }

        /**
         * @param relationalTable A physical table type for relational data sources. See relational_table.
         * 
         * @return builder
         * 
         */
        public Builder relationalTable(@Nullable Output relationalTable) {
            $.relationalTable = relationalTable;
            return this;
        }

        /**
         * @param relationalTable A physical table type for relational data sources. See relational_table.
         * 
         * @return builder
         * 
         */
        public Builder relationalTable(DataSetPhysicalTableMapRelationalTableArgs relationalTable) {
            return relationalTable(Output.of(relationalTable));
        }

        /**
         * @param s3Source A physical table type for as S3 data source. See s3_source.
         * 
         * @return builder
         * 
         */
        public Builder s3Source(@Nullable Output s3Source) {
            $.s3Source = s3Source;
            return this;
        }

        /**
         * @param s3Source A physical table type for as S3 data source. See s3_source.
         * 
         * @return builder
         * 
         */
        public Builder s3Source(DataSetPhysicalTableMapS3SourceArgs s3Source) {
            return s3Source(Output.of(s3Source));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy