com.pulumi.googlenative.healthcare.v1beta1.kotlin.UserDataMappingArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.healthcare.v1beta1.kotlin
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.healthcare.v1beta1.UserDataMappingArgs.builder
import com.pulumi.googlenative.healthcare.v1beta1.kotlin.inputs.AttributeArgs
import com.pulumi.googlenative.healthcare.v1beta1.kotlin.inputs.AttributeArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
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
/**
* Creates a new User data mapping in the parent consent store.
* @property consentStoreId
* @property dataId A unique identifier for the mapped resource.
* @property datasetId
* @property location
* @property name Resource name of the User data mapping, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}`.
* @property project
* @property resourceAttributes Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these User data mappings. Attributes listed here must be single valued, that is, exactly one value is specified for the field "values" in each Attribute.
* @property userId User's UUID provided by the client.
*/
public data class UserDataMappingArgs(
public val consentStoreId: Output? = null,
public val dataId: Output? = null,
public val datasetId: Output? = null,
public val location: Output? = null,
public val name: Output? = null,
public val project: Output? = null,
public val resourceAttributes: Output>? = null,
public val userId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.healthcare.v1beta1.UserDataMappingArgs =
com.pulumi.googlenative.healthcare.v1beta1.UserDataMappingArgs.builder()
.consentStoreId(consentStoreId?.applyValue({ args0 -> args0 }))
.dataId(dataId?.applyValue({ args0 -> args0 }))
.datasetId(datasetId?.applyValue({ args0 -> args0 }))
.location(location?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.project(project?.applyValue({ args0 -> args0 }))
.resourceAttributes(
resourceAttributes?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.userId(userId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [UserDataMappingArgs].
*/
@PulumiTagMarker
public class UserDataMappingArgsBuilder internal constructor() {
private var consentStoreId: Output? = null
private var dataId: Output? = null
private var datasetId: Output? = null
private var location: Output? = null
private var name: Output? = null
private var project: Output? = null
private var resourceAttributes: Output>? = null
private var userId: Output? = null
/**
* @param value
*/
@JvmName("vpcmhmvbnutmbywh")
public suspend fun consentStoreId(`value`: Output) {
this.consentStoreId = value
}
/**
* @param value A unique identifier for the mapped resource.
*/
@JvmName("spgugxiqglnujefk")
public suspend fun dataId(`value`: Output) {
this.dataId = value
}
/**
* @param value
*/
@JvmName("rdcbxgtycfykxfpp")
public suspend fun datasetId(`value`: Output) {
this.datasetId = value
}
/**
* @param value
*/
@JvmName("hyvwoojosisdvtie")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value Resource name of the User data mapping, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}`.
*/
@JvmName("rfnkvalhqfgbiqsx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value
*/
@JvmName("lpqkorncwinpykds")
public suspend fun project(`value`: Output) {
this.project = value
}
/**
* @param value Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these User data mappings. Attributes listed here must be single valued, that is, exactly one value is specified for the field "values" in each Attribute.
*/
@JvmName("poswknkapgqbdxlu")
public suspend fun resourceAttributes(`value`: Output>) {
this.resourceAttributes = value
}
@JvmName("oxrkyxutwlmoobga")
public suspend fun resourceAttributes(vararg values: Output) {
this.resourceAttributes = Output.all(values.asList())
}
/**
* @param values Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these User data mappings. Attributes listed here must be single valued, that is, exactly one value is specified for the field "values" in each Attribute.
*/
@JvmName("ahpgbsrhqlacxciv")
public suspend fun resourceAttributes(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy