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

com.pulumi.aws.kinesis.inputs.AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs 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.kinesis.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;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs Empty = new AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs();

    /**
     * The Mapping reference to the data element.
     * 
     */
    @Import(name="mapping")
    private @Nullable Output mapping;

    /**
     * @return The Mapping reference to the data element.
     * 
     */
    public Optional> mapping() {
        return Optional.ofNullable(this.mapping);
    }

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

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

    /**
     * The SQL Type of the column.
     * 
     */
    @Import(name="sqlType", required=true)
    private Output sqlType;

    /**
     * @return The SQL Type of the column.
     * 
     */
    public Output sqlType() {
        return this.sqlType;
    }

    private AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs() {}

    private AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs(AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs $) {
        this.mapping = $.mapping;
        this.name = $.name;
        this.sqlType = $.sqlType;
    }

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

    public static final class Builder {
        private AnalyticsApplicationReferenceDataSourcesSchemaRecordColumnArgs $;

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

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

        /**
         * @param mapping The Mapping reference to the data element.
         * 
         * @return builder
         * 
         */
        public Builder mapping(@Nullable Output mapping) {
            $.mapping = mapping;
            return this;
        }

        /**
         * @param mapping The Mapping reference to the data element.
         * 
         * @return builder
         * 
         */
        public Builder mapping(String mapping) {
            return mapping(Output.of(mapping));
        }

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

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

        /**
         * @param sqlType The SQL Type of the column.
         * 
         * @return builder
         * 
         */
        public Builder sqlType(Output sqlType) {
            $.sqlType = sqlType;
            return this;
        }

        /**
         * @param sqlType The SQL Type of the column.
         * 
         * @return builder
         * 
         */
        public Builder sqlType(String sqlType) {
            return sqlType(Output.of(sqlType));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy