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

com.pulumi.gcp.datastream.kotlin.outputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormat.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.datastream.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property compression Compression of the loaded JSON file.
 * Possible values are: `NO_COMPRESSION`, `GZIP`.
 * @property schemaFileFormat The schema file format along JSON data files.
 * Possible values are: `NO_SCHEMA_FILE`, `AVRO_SCHEMA_FILE`.
 */
public data class StreamDestinationConfigGcsDestinationConfigJsonFileFormat(
    public val compression: String? = null,
    public val schemaFileFormat: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.datastream.outputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormat): StreamDestinationConfigGcsDestinationConfigJsonFileFormat =
            StreamDestinationConfigGcsDestinationConfigJsonFileFormat(
                compression = javaType.compression().map({ args0 -> args0 }).orElse(null),
                schemaFileFormat = javaType.schemaFileFormat().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy