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

com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamInputFormatConfigurationArgs.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.kinesisfirehose.kotlin.inputs

import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamInputFormatConfigurationArgs.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 deserializer Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request.
 */
public data class DeliveryStreamInputFormatConfigurationArgs(
    public val deserializer: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamInputFormatConfigurationArgs =
        com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamInputFormatConfigurationArgs.builder()
            .deserializer(deserializer?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DeliveryStreamInputFormatConfigurationArgs].
 */
@PulumiTagMarker
public class DeliveryStreamInputFormatConfigurationArgsBuilder internal constructor() {
    private var deserializer: Output? = null

    /**
     * @param value Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request.
     */
    @JvmName("nvrybrujtclxdjxg")
    public suspend fun deserializer(`value`: Output) {
        this.deserializer = value
    }

    /**
     * @param value Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request.
     */
    @JvmName("goeblwdeptkddtjc")
    public suspend fun deserializer(`value`: DeliveryStreamDeserializerArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.deserializer = mapped
    }

    /**
     * @param argument Specifies which deserializer to use. You can choose either the Apache Hive JSON SerDe or the OpenX JSON SerDe. If both are non-null, the server rejects the request.
     */
    @JvmName("usfmfvknievufqlj")
    public suspend fun deserializer(argument: suspend DeliveryStreamDeserializerArgsBuilder.() -> Unit) {
        val toBeMapped = DeliveryStreamDeserializerArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.deserializer = mapped
    }

    internal fun build(): DeliveryStreamInputFormatConfigurationArgs =
        DeliveryStreamInputFormatConfigurationArgs(
            deserializer = deserializer,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy