
com.pulumi.googlenative.healthcare.v1.kotlin.inputs.FieldMetadataArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.healthcare.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.healthcare.v1.inputs.FieldMetadataArgs.builder
import com.pulumi.googlenative.healthcare.v1.kotlin.enums.FieldMetadataAction
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Specifies FHIR paths to match, and how to handle de-identification of matching fields.
* @property action Deidentify action for one field.
* @property paths List of paths to FHIR fields to be redacted. Each path is a period-separated list where each component is either a field name or FHIR type name, for example: Patient, HumanName. For "choice" types (those defined in the FHIR spec with the form: field[x]) we use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml.
*/
public data class FieldMetadataArgs(
public val action: Output? = null,
public val paths: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.healthcare.v1.inputs.FieldMetadataArgs =
com.pulumi.googlenative.healthcare.v1.inputs.FieldMetadataArgs.builder()
.action(action?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.paths(paths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [FieldMetadataArgs].
*/
@PulumiTagMarker
public class FieldMetadataArgsBuilder internal constructor() {
private var action: Output? = null
private var paths: Output>? = null
/**
* @param value Deidentify action for one field.
*/
@JvmName("sccyljsgmfreesbx")
public suspend fun action(`value`: Output) {
this.action = value
}
/**
* @param value List of paths to FHIR fields to be redacted. Each path is a period-separated list where each component is either a field name or FHIR type name, for example: Patient, HumanName. For "choice" types (those defined in the FHIR spec with the form: field[x]) we use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml.
*/
@JvmName("nrvspnpwqdckxthr")
public suspend fun paths(`value`: Output>) {
this.paths = value
}
@JvmName("vstxkyaqbjfbrqrs")
public suspend fun paths(vararg values: Output) {
this.paths = Output.all(values.asList())
}
/**
* @param values List of paths to FHIR fields to be redacted. Each path is a period-separated list where each component is either a field name or FHIR type name, for example: Patient, HumanName. For "choice" types (those defined in the FHIR spec with the form: field[x]) we use two separate components. For example, "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types are: AdministrativeGenderCode, Base64Binary, Boolean, Code, Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode, Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml.
*/
@JvmName("twnfgtckfmgqedtq")
public suspend fun paths(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy