com.pulumi.googlenative.healthcare.v1beta1.kotlin.inputs.GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.healthcare.v1beta1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.healthcare.v1beta1.inputs.GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs.builder
import com.pulumi.googlenative.healthcare.v1beta1.kotlin.enums.GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The configuration for exporting to BigQuery.
* @property datasetUri BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`.
* @property force Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
* @property schemaConfig The configuration for the exported BigQuery schema.
* @property writeDisposition Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored.
*/
public data class GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs(
public val datasetUri: Output? = null,
public val force: Output? = null,
public val schemaConfig: Output? = null,
public val writeDisposition: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.healthcare.v1beta1.inputs.GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs =
com.pulumi.googlenative.healthcare.v1beta1.inputs.GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs.builder()
.datasetUri(datasetUri?.applyValue({ args0 -> args0 }))
.force(force?.applyValue({ args0 -> args0 }))
.schemaConfig(schemaConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.writeDisposition(
writeDisposition?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs].
*/
@PulumiTagMarker
public class GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgsBuilder internal constructor() {
private var datasetUri: Output? = null
private var force: Output? = null
private var schemaConfig: Output? = null
private var writeDisposition:
Output? = null
/**
* @param value BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`.
*/
@JvmName("rglsonjoiboflsrl")
public suspend fun datasetUri(`value`: Output) {
this.datasetUri = value
}
/**
* @param value Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
*/
@JvmName("ospcfvjylggydpru")
public suspend fun force(`value`: Output) {
this.force = value
}
/**
* @param value The configuration for the exported BigQuery schema.
*/
@JvmName("ghdkheikduvnhawe")
public suspend fun schemaConfig(`value`: Output) {
this.schemaConfig = value
}
/**
* @param value Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored.
*/
@JvmName("kbkyhbtxxwkvxkaa")
public suspend fun writeDisposition(`value`: Output) {
this.writeDisposition = value
}
/**
* @param value BigQuery URI to an existing dataset, up to 2000 characters long, in the format `bq://projectId.bqDatasetId`.
*/
@JvmName("nracrwpqoqndvrcf")
public suspend fun datasetUri(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.datasetUri = mapped
}
/**
* @param value Use `write_disposition` instead. If `write_disposition` is specified, this parameter is ignored. force=false is equivalent to write_disposition=WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
*/
@JvmName("ftosdorwffrnlxpe")
public suspend fun force(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.force = mapped
}
/**
* @param value The configuration for the exported BigQuery schema.
*/
@JvmName("vwhphyddnmmjvwfu")
public suspend fun schemaConfig(`value`: SchemaConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schemaConfig = mapped
}
/**
* @param argument The configuration for the exported BigQuery schema.
*/
@JvmName("lytcrkcecwnqyhua")
public suspend fun schemaConfig(argument: suspend SchemaConfigArgsBuilder.() -> Unit) {
val toBeMapped = SchemaConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.schemaConfig = mapped
}
/**
* @param value Determines if existing data in the destination dataset is overwritten, appended to, or not written if the tables contain data. If a write_disposition is specified, the `force` parameter is ignored.
*/
@JvmName("tfnvekqmjhmpsxob")
public suspend fun writeDisposition(`value`: GoogleCloudHealthcareV1beta1FhirBigQueryDestinationWriteDisposition?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.writeDisposition = mapped
}
internal fun build(): GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs =
GoogleCloudHealthcareV1beta1FhirBigQueryDestinationArgs(
datasetUri = datasetUri,
force = force,
schemaConfig = schemaConfig,
writeDisposition = writeDisposition,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy