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

com.pulumi.azure.streamanalytics.kotlin.outputs.StreamInputEventHubV2Serialization.kt Maven / Gradle / Ivy

@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 StreamInputEventHubV2Serialization(
    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.StreamInputEventHubV2Serialization): StreamInputEventHubV2Serialization = StreamInputEventHubV2Serialization(
            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