com.pulumi.gcp.healthcare.kotlin.inputs.FhirStoreStreamConfigArgs.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.FhirStoreStreamConfigArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property bigqueryDestination The destination BigQuery structure that contains both the dataset location and corresponding schema config.
* The output is organized in one table per resource type. The server reuses the existing tables (if any) that
* are named after the resource types, e.g. "Patient", "Observation". When there is no existing table for a given
* resource type, the server attempts to create one.
* See the [streaming config reference](https://cloud.google.com/healthcare/docs/reference/rest/v1beta1/projects.locations.datasets.fhirStores#streamconfig) for more details.
* Structure is documented below.
* @property resourceTypes Supply a FHIR resource type (such as "Patient" or "Observation"). See
* https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats
* an empty list as an intent to stream all the supported resource types in this FHIR store.
*/
public data class FhirStoreStreamConfigArgs(
public val bigqueryDestination: Output,
public val resourceTypes: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigArgs =
com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigArgs.builder()
.bigqueryDestination(
bigqueryDestination.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.resourceTypes(resourceTypes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FhirStoreStreamConfigArgs].
*/
@PulumiTagMarker
public class FhirStoreStreamConfigArgsBuilder internal constructor() {
private var bigqueryDestination: Output? = null
private var resourceTypes: Output>? = null
/**
* @param value The destination BigQuery structure that contains both the dataset location and corresponding schema config.
* The output is organized in one table per resource type. The server reuses the existing tables (if any) that
* are named after the resource types, e.g. "Patient", "Observation". When there is no existing table for a given
* resource type, the server attempts to create one.
* See the [streaming config reference](https://cloud.google.com/healthcare/docs/reference/rest/v1beta1/projects.locations.datasets.fhirStores#streamconfig) for more details.
* Structure is documented below.
*/
@JvmName("bprhmhvkqndmqonq")
public suspend fun bigqueryDestination(`value`: Output) {
this.bigqueryDestination = value
}
/**
* @param value Supply a FHIR resource type (such as "Patient" or "Observation"). See
* https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats
* an empty list as an intent to stream all the supported resource types in this FHIR store.
*/
@JvmName("phixsqsxckoghnlv")
public suspend fun resourceTypes(`value`: Output>) {
this.resourceTypes = value
}
@JvmName("kmyggfoeiwhnebrd")
public suspend fun resourceTypes(vararg values: Output) {
this.resourceTypes = Output.all(values.asList())
}
/**
* @param values Supply a FHIR resource type (such as "Patient" or "Observation"). See
* https://www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource types. The server treats
* an empty list as an intent to stream all the supported resource types in this FHIR store.
*/
@JvmName("rybyrihadmddeewf")
public suspend fun resourceTypes(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy