com.pulumi.gcp.datastream.kotlin.outputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormat.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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