com.pulumi.azure.streamanalytics.kotlin.outputs.StreamInputEventHubSerialization.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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