com.pulumi.gcp.healthcare.kotlin.inputs.PipelineJobMappingPipelineJobArgs.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.PipelineJobMappingPipelineJobArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
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
/**
*
* @property fhirStoreDestination If set, the mapping pipeline will write snapshots to this
* FHIR store without assigning stable IDs. You must
* grant your pipeline project's Cloud Healthcare Service
* Agent serviceaccount healthcare.fhirResources.executeBundle
* and healthcare.fhirResources.create permissions on the
* destination store. The destination store must set
* [disableReferentialIntegrity][FhirStore.disable_referential_integrity]
* to true. The destination store must use FHIR version R4.
* Format: project/{projectID}/locations/{locationID}/datasets/{datasetName}/fhirStores/{fhirStoreID}.
* @property fhirStreamingSource A streaming FHIR data source.
* Structure is documented below.
* @property mappingConfig The location of the mapping configuration.
* Structure is documented below.
* @property reconciliationDestination If set to true, a mapping pipeline will send output snapshots
* to the reconciliation pipeline in its dataset. A reconciliation
* pipeline must exist in this dataset before a mapping pipeline
* with a reconciliation destination can be created.
*/
public data class PipelineJobMappingPipelineJobArgs(
public val fhirStoreDestination: Output? = null,
public val fhirStreamingSource: Output? =
null,
public val mappingConfig: Output,
public val reconciliationDestination: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.PipelineJobMappingPipelineJobArgs =
com.pulumi.gcp.healthcare.inputs.PipelineJobMappingPipelineJobArgs.builder()
.fhirStoreDestination(fhirStoreDestination?.applyValue({ args0 -> args0 }))
.fhirStreamingSource(
fhirStreamingSource?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.mappingConfig(mappingConfig.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.reconciliationDestination(reconciliationDestination?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipelineJobMappingPipelineJobArgs].
*/
@PulumiTagMarker
public class PipelineJobMappingPipelineJobArgsBuilder internal constructor() {
private var fhirStoreDestination: Output? = null
private var fhirStreamingSource: Output? =
null
private var mappingConfig: Output? = null
private var reconciliationDestination: Output? = null
/**
* @param value If set, the mapping pipeline will write snapshots to this
* FHIR store without assigning stable IDs. You must
* grant your pipeline project's Cloud Healthcare Service
* Agent serviceaccount healthcare.fhirResources.executeBundle
* and healthcare.fhirResources.create permissions on the
* destination store. The destination store must set
* [disableReferentialIntegrity][FhirStore.disable_referential_integrity]
* to true. The destination store must use FHIR version R4.
* Format: project/{projectID}/locations/{locationID}/datasets/{datasetName}/fhirStores/{fhirStoreID}.
*/
@JvmName("chlatywyxbfikcrq")
public suspend fun fhirStoreDestination(`value`: Output) {
this.fhirStoreDestination = value
}
/**
* @param value A streaming FHIR data source.
* Structure is documented below.
*/
@JvmName("hshbvxoltgystbhx")
public suspend fun fhirStreamingSource(`value`: Output) {
this.fhirStreamingSource = value
}
/**
* @param value The location of the mapping configuration.
* Structure is documented below.
*/
@JvmName("ghqwgufjwbggvxci")
public suspend fun mappingConfig(`value`: Output) {
this.mappingConfig = value
}
/**
* @param value If set to true, a mapping pipeline will send output snapshots
* to the reconciliation pipeline in its dataset. A reconciliation
* pipeline must exist in this dataset before a mapping pipeline
* with a reconciliation destination can be created.
*/
@JvmName("kxlaagithuhqnove")
public suspend fun reconciliationDestination(`value`: Output) {
this.reconciliationDestination = value
}
/**
* @param value If set, the mapping pipeline will write snapshots to this
* FHIR store without assigning stable IDs. You must
* grant your pipeline project's Cloud Healthcare Service
* Agent serviceaccount healthcare.fhirResources.executeBundle
* and healthcare.fhirResources.create permissions on the
* destination store. The destination store must set
* [disableReferentialIntegrity][FhirStore.disable_referential_integrity]
* to true. The destination store must use FHIR version R4.
* Format: project/{projectID}/locations/{locationID}/datasets/{datasetName}/fhirStores/{fhirStoreID}.
*/
@JvmName("cqduhqxiquytrtix")
public suspend fun fhirStoreDestination(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fhirStoreDestination = mapped
}
/**
* @param value A streaming FHIR data source.
* Structure is documented below.
*/
@JvmName("amgedtyqdjujyoru")
public suspend fun fhirStreamingSource(`value`: PipelineJobMappingPipelineJobFhirStreamingSourceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fhirStreamingSource = mapped
}
/**
* @param argument A streaming FHIR data source.
* Structure is documented below.
*/
@JvmName("vtbmnxohvgmpdfpn")
public suspend fun fhirStreamingSource(argument: suspend PipelineJobMappingPipelineJobFhirStreamingSourceArgsBuilder.() -> Unit) {
val toBeMapped = PipelineJobMappingPipelineJobFhirStreamingSourceArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.fhirStreamingSource = mapped
}
/**
* @param value The location of the mapping configuration.
* Structure is documented below.
*/
@JvmName("rltugxxdtmsioxun")
public suspend fun mappingConfig(`value`: PipelineJobMappingPipelineJobMappingConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mappingConfig = mapped
}
/**
* @param argument The location of the mapping configuration.
* Structure is documented below.
*/
@JvmName("krmaupboisyhebvk")
public suspend fun mappingConfig(argument: suspend PipelineJobMappingPipelineJobMappingConfigArgsBuilder.() -> Unit) {
val toBeMapped = PipelineJobMappingPipelineJobMappingConfigArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.mappingConfig = mapped
}
/**
* @param value If set to true, a mapping pipeline will send output snapshots
* to the reconciliation pipeline in its dataset. A reconciliation
* pipeline must exist in this dataset before a mapping pipeline
* with a reconciliation destination can be created.
*/
@JvmName("ubteypnaxusxbqwx")
public suspend fun reconciliationDestination(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.reconciliationDestination = mapped
}
internal fun build(): PipelineJobMappingPipelineJobArgs = PipelineJobMappingPipelineJobArgs(
fhirStoreDestination = fhirStoreDestination,
fhirStreamingSource = fhirStreamingSource,
mappingConfig = mappingConfig ?: throw PulumiNullFieldException("mappingConfig"),
reconciliationDestination = reconciliationDestination,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy