com.pulumi.gcp.healthcare.kotlin.inputs.FhirStoreStreamConfigBigqueryDestinationArgs.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.healthcare.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigBigqueryDestinationArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property datasetUri BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId
* @property schemaConfig The configuration for the exported BigQuery schema.
* Structure is documented below.
*/
public data class FhirStoreStreamConfigBigqueryDestinationArgs(
public val datasetUri: Output,
public val schemaConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigBigqueryDestinationArgs =
com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigBigqueryDestinationArgs.builder()
.datasetUri(datasetUri.applyValue({ args0 -> args0 }))
.schemaConfig(schemaConfig.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FhirStoreStreamConfigBigqueryDestinationArgs].
*/
@PulumiTagMarker
public class FhirStoreStreamConfigBigqueryDestinationArgsBuilder internal constructor() {
private var datasetUri: Output? = null
private var schemaConfig: Output? = null
/**
* @param value BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId
*/
@JvmName("nbbfdqoingvrvbdb")
public suspend fun datasetUri(`value`: Output) {
this.datasetUri = value
}
/**
* @param value The configuration for the exported BigQuery schema.
* Structure is documented below.
*/
@JvmName("jairovfyteexvrbs")
public suspend fun schemaConfig(`value`: Output) {
this.schemaConfig = value
}
/**
* @param value BigQuery URI to a dataset, up to 2000 characters long, in the format bq://projectId.bqDatasetId
*/
@JvmName("gdksbrcvlvulplvj")
public suspend fun datasetUri(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.datasetUri = mapped
}
/**
* @param value The configuration for the exported BigQuery schema.
* Structure is documented below.
*/
@JvmName("euxybefwrtgwhvpf")
public suspend fun schemaConfig(`value`: FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.schemaConfig = mapped
}
/**
* @param argument The configuration for the exported BigQuery schema.
* Structure is documented below.
*/
@JvmName("urqjabaicpinjhvc")
public suspend fun schemaConfig(argument: suspend FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgsBuilder.() -> Unit) {
val toBeMapped = FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.schemaConfig = mapped
}
internal fun build(): FhirStoreStreamConfigBigqueryDestinationArgs =
FhirStoreStreamConfigBigqueryDestinationArgs(
datasetUri = datasetUri ?: throw PulumiNullFieldException("datasetUri"),
schemaConfig = schemaConfig ?: throw PulumiNullFieldException("schemaConfig"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy