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

com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs 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.kinesisanalyticsv2.inputs;

import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs;
import com.pulumi.aws.kinesisanalyticsv2.inputs.ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs;
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 ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs Empty = new ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs();

    /**
     * Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
     * 
     */
    @Import(name="recordColumns", required=true)
    private Output> recordColumns;

    /**
     * @return Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
     * 
     */
    public Output> recordColumns() {
        return this.recordColumns;
    }

    /**
     * Specifies the encoding of the records in the streaming source. For example, `UTF-8`.
     * 
     */
    @Import(name="recordEncoding")
    private @Nullable Output recordEncoding;

    /**
     * @return Specifies the encoding of the records in the streaming source. For example, `UTF-8`.
     * 
     */
    public Optional> recordEncoding() {
        return Optional.ofNullable(this.recordEncoding);
    }

    /**
     * Specifies the format of the records on the streaming source.
     * 
     */
    @Import(name="recordFormat", required=true)
    private Output recordFormat;

    /**
     * @return Specifies the format of the records on the streaming source.
     * 
     */
    public Output recordFormat() {
        return this.recordFormat;
    }

    private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs() {}

    private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs $) {
        this.recordColumns = $.recordColumns;
        this.recordEncoding = $.recordEncoding;
        this.recordFormat = $.recordFormat;
    }

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

    public static final class Builder {
        private ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs $;

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

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

        /**
         * @param recordColumns Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
         * 
         * @return builder
         * 
         */
        public Builder recordColumns(Output> recordColumns) {
            $.recordColumns = recordColumns;
            return this;
        }

        /**
         * @param recordColumns Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
         * 
         * @return builder
         * 
         */
        public Builder recordColumns(List recordColumns) {
            return recordColumns(Output.of(recordColumns));
        }

        /**
         * @param recordColumns Describes the mapping of each data element in the streaming source to the corresponding column in the in-application stream.
         * 
         * @return builder
         * 
         */
        public Builder recordColumns(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordColumnArgs... recordColumns) {
            return recordColumns(List.of(recordColumns));
        }

        /**
         * @param recordEncoding Specifies the encoding of the records in the streaming source. For example, `UTF-8`.
         * 
         * @return builder
         * 
         */
        public Builder recordEncoding(@Nullable Output recordEncoding) {
            $.recordEncoding = recordEncoding;
            return this;
        }

        /**
         * @param recordEncoding Specifies the encoding of the records in the streaming source. For example, `UTF-8`.
         * 
         * @return builder
         * 
         */
        public Builder recordEncoding(String recordEncoding) {
            return recordEncoding(Output.of(recordEncoding));
        }

        /**
         * @param recordFormat Specifies the format of the records on the streaming source.
         * 
         * @return builder
         * 
         */
        public Builder recordFormat(Output recordFormat) {
            $.recordFormat = recordFormat;
            return this;
        }

        /**
         * @param recordFormat Specifies the format of the records on the streaming source.
         * 
         * @return builder
         * 
         */
        public Builder recordFormat(ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaRecordFormatArgs recordFormat) {
            return recordFormat(Output.of(recordFormat));
        }

        public ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs build() {
            if ($.recordColumns == null) {
                throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs", "recordColumns");
            }
            if ($.recordFormat == null) {
                throw new MissingRequiredPropertyException("ApplicationApplicationConfigurationSqlApplicationConfigurationInputInputSchemaArgs", "recordFormat");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy