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

com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationMappingParameters.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs

import kotlin.Suppress

/**
 * When you configure a SQL-based Kinesis Data Analytics application's input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.
 * @property csvMappingParameters Provides additional mapping information when the record format uses delimiters (for example, CSV).
 * @property jsonMappingParameters Provides additional mapping information when JSON is the record format on the streaming source.
 */
public data class ApplicationMappingParameters(
    public val csvMappingParameters: ApplicationCsvMappingParameters? = null,
    public val jsonMappingParameters: ApplicationJsonMappingParameters? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisanalyticsv2.outputs.ApplicationMappingParameters): ApplicationMappingParameters = ApplicationMappingParameters(
            csvMappingParameters = javaType.csvMappingParameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationCsvMappingParameters.Companion.toKotlin(args0)
                })
            }).orElse(null),
            jsonMappingParameters = javaType.jsonMappingParameters().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisanalyticsv2.kotlin.outputs.ApplicationJsonMappingParameters.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy