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

com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamSerializer.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.kinesisfirehose.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @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 DeliveryStreamSerializer(
    public val orcSerDe: DeliveryStreamOrcSerDe? = null,
    public val parquetSerDe: DeliveryStreamParquetSerDe? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.kinesisfirehose.outputs.DeliveryStreamSerializer): DeliveryStreamSerializer = DeliveryStreamSerializer(
            orcSerDe = javaType.orcSerDe().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamOrcSerDe.Companion.toKotlin(args0)
                })
            }).orElse(null),
            parquetSerDe = javaType.parquetSerDe().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kinesisfirehose.kotlin.outputs.DeliveryStreamParquetSerDe.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy