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

com.pulumi.awsnative.kinesisfirehose.kotlin.inputs.DeliveryStreamSerializerArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kinesisfirehose.kotlin.inputs

import com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamSerializerArgs.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 orcSerDe A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) .
 * @property parquetSerDe A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) .
 */
public data class DeliveryStreamSerializerArgs(
    public val orcSerDe: Output? = null,
    public val parquetSerDe: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamSerializerArgs =
        com.pulumi.awsnative.kinesisfirehose.inputs.DeliveryStreamSerializerArgs.builder()
            .orcSerDe(orcSerDe?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .parquetSerDe(parquetSerDe?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [DeliveryStreamSerializerArgs].
 */
@PulumiTagMarker
public class DeliveryStreamSerializerArgsBuilder internal constructor() {
    private var orcSerDe: Output? = null

    private var parquetSerDe: Output? = null

    /**
     * @param value A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) .
     */
    @JvmName("aveptqmofqldefui")
    public suspend fun orcSerDe(`value`: Output) {
        this.orcSerDe = value
    }

    /**
     * @param value A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) .
     */
    @JvmName("vvcnemfuuahpdvsk")
    public suspend fun parquetSerDe(`value`: Output) {
        this.parquetSerDe = value
    }

    /**
     * @param value A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) .
     */
    @JvmName("wvafhmigpiplukmg")
    public suspend fun orcSerDe(`value`: DeliveryStreamOrcSerDeArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.orcSerDe = mapped
    }

    /**
     * @param argument A serializer to use for converting data to the ORC format before storing it in Amazon S3. For more information, see [Apache ORC](https://docs.aws.amazon.com/https://orc.apache.org/docs/) .
     */
    @JvmName("ibcunbkiwoihvpgt")
    public suspend fun orcSerDe(argument: suspend DeliveryStreamOrcSerDeArgsBuilder.() -> Unit) {
        val toBeMapped = DeliveryStreamOrcSerDeArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.orcSerDe = mapped
    }

    /**
     * @param value A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) .
     */
    @JvmName("cuogtunmjyhuutph")
    public suspend fun parquetSerDe(`value`: DeliveryStreamParquetSerDeArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parquetSerDe = mapped
    }

    /**
     * @param argument A serializer to use for converting data to the Parquet format before storing it in Amazon S3. For more information, see [Apache Parquet](https://docs.aws.amazon.com/https://parquet.apache.org/documentation/latest/) .
     */
    @JvmName("fxxsjygpfkaoanqf")
    public suspend fun parquetSerDe(argument: suspend DeliveryStreamParquetSerDeArgsBuilder.() -> Unit) {
        val toBeMapped = DeliveryStreamParquetSerDeArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.parquetSerDe = mapped
    }

    internal fun build(): DeliveryStreamSerializerArgs = DeliveryStreamSerializerArgs(
        orcSerDe = orcSerDe,
        parquetSerDe = parquetSerDe,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy