com.pulumi.gcp.healthcare.kotlin.inputs.FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs.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.FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property lastUpdatedPartitionConfig The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column.
* Structure is documented below.
* @property recursiveStructureDepth The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem
* resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called
* concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default
* value 2. The maximum depth allowed is 5.
* @property schemaType Specifies the output schema type.
* * ANALYTICS: Analytics schema defined by the FHIR community.
* See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md.
* * ANALYTICS_V2: Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON.
* * LOSSLESS: A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification.
* Default value is `ANALYTICS`.
* Possible values are: `ANALYTICS`, `ANALYTICS_V2`, `LOSSLESS`.
*/
public data class FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs(
public val lastUpdatedPartitionConfig: Output? =
null,
public val recursiveStructureDepth: Output,
public val schemaType: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs =
com.pulumi.gcp.healthcare.inputs.FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs.builder()
.lastUpdatedPartitionConfig(
lastUpdatedPartitionConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.recursiveStructureDepth(recursiveStructureDepth.applyValue({ args0 -> args0 }))
.schemaType(schemaType?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs].
*/
@PulumiTagMarker
public class FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgsBuilder internal constructor() {
private var lastUpdatedPartitionConfig:
Output? =
null
private var recursiveStructureDepth: Output? = null
private var schemaType: Output? = null
/**
* @param value The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column.
* Structure is documented below.
*/
@JvmName("mxbnfvvesjnfkcvm")
public suspend fun lastUpdatedPartitionConfig(`value`: Output) {
this.lastUpdatedPartitionConfig = value
}
/**
* @param value The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem
* resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called
* concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default
* value 2. The maximum depth allowed is 5.
*/
@JvmName("brhegygpxcgyhomk")
public suspend fun recursiveStructureDepth(`value`: Output) {
this.recursiveStructureDepth = value
}
/**
* @param value Specifies the output schema type.
* * ANALYTICS: Analytics schema defined by the FHIR community.
* See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md.
* * ANALYTICS_V2: Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON.
* * LOSSLESS: A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification.
* Default value is `ANALYTICS`.
* Possible values are: `ANALYTICS`, `ANALYTICS_V2`, `LOSSLESS`.
*/
@JvmName("aedmfhubiiitkjte")
public suspend fun schemaType(`value`: Output) {
this.schemaType = value
}
/**
* @param value The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column.
* Structure is documented below.
*/
@JvmName("seocxwsdlwteubxl")
public suspend fun lastUpdatedPartitionConfig(`value`: FhirStoreStreamConfigBigqueryDestinationSchemaConfigLastUpdatedPartitionConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lastUpdatedPartitionConfig = mapped
}
/**
* @param argument The configuration for exported BigQuery tables to be partitioned by FHIR resource's last updated time column.
* Structure is documented below.
*/
@JvmName("ksvcjerrmqldudyi")
public suspend fun lastUpdatedPartitionConfig(argument: suspend FhirStoreStreamConfigBigqueryDestinationSchemaConfigLastUpdatedPartitionConfigArgsBuilder.() -> Unit) {
val toBeMapped =
FhirStoreStreamConfigBigqueryDestinationSchemaConfigLastUpdatedPartitionConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.lastUpdatedPartitionConfig = mapped
}
/**
* @param value The depth for all recursive structures in the output analytics schema. For example, concept in the CodeSystem
* resource is a recursive structure; when the depth is 2, the CodeSystem table will have a column called
* concept.concept but not concept.concept.concept. If not specified or set to 0, the server will use the default
* value 2. The maximum depth allowed is 5.
*/
@JvmName("vsnkxoffdxsuyugx")
public suspend fun recursiveStructureDepth(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.recursiveStructureDepth = mapped
}
/**
* @param value Specifies the output schema type.
* * ANALYTICS: Analytics schema defined by the FHIR community.
* See https://github.com/FHIR/sql-on-fhir/blob/master/sql-on-fhir.md.
* * ANALYTICS_V2: Analytics V2, similar to schema defined by the FHIR community, with added support for extensions with one or more occurrences and contained resources in stringified JSON.
* * LOSSLESS: A data-driven schema generated from the fields present in the FHIR data being exported, with no additional simplification.
* Default value is `ANALYTICS`.
* Possible values are: `ANALYTICS`, `ANALYTICS_V2`, `LOSSLESS`.
*/
@JvmName("eimbsmhukwxgdntj")
public suspend fun schemaType(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.schemaType = mapped
}
internal fun build(): FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs =
FhirStoreStreamConfigBigqueryDestinationSchemaConfigArgs(
lastUpdatedPartitionConfig = lastUpdatedPartitionConfig,
recursiveStructureDepth = recursiveStructureDepth ?: throw
PulumiNullFieldException("recursiveStructureDepth"),
schemaType = schemaType,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy