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

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

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


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

    public static final DataSetPhysicalTableMapS3SourceInputColumnArgs Empty = new DataSetPhysicalTableMapS3SourceInputColumnArgs();

    /**
     * Name of this column in the underlying data source.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Name of this column in the underlying data source.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * Data type of the column.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Data type of the column.
     * 
     */
    public Output type() {
        return this.type;
    }

    private DataSetPhysicalTableMapS3SourceInputColumnArgs() {}

    private DataSetPhysicalTableMapS3SourceInputColumnArgs(DataSetPhysicalTableMapS3SourceInputColumnArgs $) {
        this.name = $.name;
        this.type = $.type;
    }

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

    public static final class Builder {
        private DataSetPhysicalTableMapS3SourceInputColumnArgs $;

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

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

        /**
         * @param name Name of this column in the underlying data source.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Name of this column in the underlying data source.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param type Data type of the column.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Data type of the column.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public DataSetPhysicalTableMapS3SourceInputColumnArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("DataSetPhysicalTableMapS3SourceInputColumnArgs", "name");
            }
            if ($.type == null) {
                throw new MissingRequiredPropertyException("DataSetPhysicalTableMapS3SourceInputColumnArgs", "type");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy