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

com.pulumi.azure.streamanalytics.kotlin.outputs.StreamInputEventHubSerialization.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.streamanalytics.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property encoding The encoding of the incoming data in the case of input and the encoding of outgoing data in the case of output. It currently can only be set to `UTF8`.
 * > **NOTE:** This is required when `type` is set to `Csv` or `Json`.
 * @property fieldDelimiter The delimiter that will be used to separate comma-separated value (CSV) records. Possible values are ` ` (space), `,` (comma), `	` (tab), `|` (pipe) and `;`.
 * > **NOTE:** This is required when `type` is set to `Csv`.
 * @property type The serialization format used for incoming data streams. Possible values are `Avro`, `Csv` and `Json`.
 */
public data class StreamInputEventHubSerialization(
    public val encoding: String? = null,
    public val fieldDelimiter: String? = null,
    public val type: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.streamanalytics.outputs.StreamInputEventHubSerialization):
            StreamInputEventHubSerialization = StreamInputEventHubSerialization(
            encoding = javaType.encoding().map({ args0 -> args0 }).orElse(null),
            fieldDelimiter = javaType.fieldDelimiter().map({ args0 -> args0 }).orElse(null),
            type = javaType.type(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy