
com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamDeserializerArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs
import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamDeserializerArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property hiveJsonSerDe The native Hive / HCatalog JsonSerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
* @property openXJsonSerDe The OpenX SerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
*/
public data class DeliveryStreamDeserializerArgs(
public val hiveJsonSerDe: Output? = null,
public val openXJsonSerDe: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamDeserializerArgs = com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamDeserializerArgs.builder()
.hiveJsonSerDe(hiveJsonSerDe?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.openXJsonSerDe(
openXJsonSerDe?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DeliveryStreamDeserializerArgs].
*/
@PulumiTagMarker
public class DeliveryStreamDeserializerArgsBuilder internal constructor() {
private var hiveJsonSerDe: Output? = null
private var openXJsonSerDe: Output? = null
/**
* @param value The native Hive / HCatalog JsonSerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
*/
@JvmName("tknsmnxpqlypgfbi")
public suspend fun hiveJsonSerDe(`value`: Output) {
this.hiveJsonSerDe = value
}
/**
* @param value The OpenX SerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
*/
@JvmName("ewtnveeoctbrwovt")
public suspend fun openXJsonSerDe(`value`: Output) {
this.openXJsonSerDe = value
}
/**
* @param value The native Hive / HCatalog JsonSerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
*/
@JvmName("fktjenkyhkqjvjwg")
public suspend fun hiveJsonSerDe(`value`: DeliveryStreamHiveJsonSerDeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.hiveJsonSerDe = mapped
}
/**
* @param argument The native Hive / HCatalog JsonSerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the OpenX SerDe.
*/
@JvmName("bufgqwiqsephpvdc")
public suspend fun hiveJsonSerDe(argument: suspend DeliveryStreamHiveJsonSerDeArgsBuilder.() -> Unit) {
val toBeMapped = DeliveryStreamHiveJsonSerDeArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.hiveJsonSerDe = mapped
}
/**
* @param value The OpenX SerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
*/
@JvmName("xtkfxpjtuwxnqqaw")
public suspend fun openXJsonSerDe(`value`: DeliveryStreamOpenXJsonSerDeArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.openXJsonSerDe = mapped
}
/**
* @param argument The OpenX SerDe. Used by Firehose for deserializing data, which means converting it from the JSON format in preparation for serializing it to the Parquet or ORC format. This is one of two deserializers you can choose, depending on which one offers the functionality you need. The other option is the native Hive / HCatalog JsonSerDe.
*/
@JvmName("flgyecjlmkvafoeh")
public suspend fun openXJsonSerDe(argument: suspend DeliveryStreamOpenXJsonSerDeArgsBuilder.() -> Unit) {
val toBeMapped = DeliveryStreamOpenXJsonSerDeArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.openXJsonSerDe = mapped
}
internal fun build(): DeliveryStreamDeserializerArgs = DeliveryStreamDeserializerArgs(
hiveJsonSerDe = hiveJsonSerDe,
openXJsonSerDe = openXJsonSerDe,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy