
com.pulumi.gcp.datastream.kotlin.inputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.datastream.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.datastream.inputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @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 StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs(
public val compression: Output? = null,
public val schemaFileFormat: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.datastream.inputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs =
com.pulumi.gcp.datastream.inputs.StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs.builder()
.compression(compression?.applyValue({ args0 -> args0 }))
.schemaFileFormat(schemaFileFormat?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs].
*/
@PulumiTagMarker
public class StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgsBuilder internal constructor() {
private var compression: Output? = null
private var schemaFileFormat: Output? = null
/**
* @param value Compression of the loaded JSON file.
* Possible values are: `NO_COMPRESSION`, `GZIP`.
*/
@JvmName("hejhgpcctkyllehg")
public suspend fun compression(`value`: Output) {
this.compression = value
}
/**
* @param value The schema file format along JSON data files.
* Possible values are: `NO_SCHEMA_FILE`, `AVRO_SCHEMA_FILE`.
*/
@JvmName("ayfjvstqddgmrprg")
public suspend fun schemaFileFormat(`value`: Output) {
this.schemaFileFormat = value
}
/**
* @param value Compression of the loaded JSON file.
* Possible values are: `NO_COMPRESSION`, `GZIP`.
*/
@JvmName("emsaaqpugakgvuxg")
public suspend fun compression(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.compression = mapped
}
/**
* @param value The schema file format along JSON data files.
* Possible values are: `NO_SCHEMA_FILE`, `AVRO_SCHEMA_FILE`.
*/
@JvmName("cjyjeugxryehyult")
public suspend fun schemaFileFormat(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schemaFileFormat = mapped
}
internal fun build(): StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs =
StreamDestinationConfigGcsDestinationConfigJsonFileFormatArgs(
compression = compression,
schemaFileFormat = schemaFileFormat,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy