com.pulumi.azure.healthcare.kotlin.inputs.GetFhirServicePlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.healthcare.kotlin.inputs
import com.pulumi.azure.healthcare.inputs.GetFhirServicePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getFhirService.
* @property name The name of the Healthcare FHIR Service.
* @property tags The map of tags assigned to the Healthcare FHIR Service.
* @property workspaceId The id of the Healthcare Workspace in which the Healthcare FHIR Service exists.
*/
public data class GetFhirServicePlainArgs(
public val name: String,
public val tags: Map? = null,
public val workspaceId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.healthcare.inputs.GetFhirServicePlainArgs =
com.pulumi.azure.healthcare.inputs.GetFhirServicePlainArgs.builder()
.name(name.let({ args0 -> args0 }))
.tags(tags?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
.workspaceId(workspaceId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetFhirServicePlainArgs].
*/
@PulumiTagMarker
public class GetFhirServicePlainArgsBuilder internal constructor() {
private var name: String? = null
private var tags: Map? = null
private var workspaceId: String? = null
/**
* @param value The name of the Healthcare FHIR Service.
*/
@JvmName("irqwaxrjyplhpwdn")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.name = mapped
}
/**
* @param value The map of tags assigned to the Healthcare FHIR Service.
*/
@JvmName("bbbncogbdqwnoagi")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.tags = mapped
}
/**
* @param values The map of tags assigned to the Healthcare FHIR Service.
*/
@JvmName("iwufvmpaucbugixu")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> args0 })
this.tags = mapped
}
/**
* @param value The id of the Healthcare Workspace in which the Healthcare FHIR Service exists.
*/
@JvmName("vfexdantiyqennhb")
public suspend fun workspaceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.workspaceId = mapped
}
internal fun build(): GetFhirServicePlainArgs = GetFhirServicePlainArgs(
name = name ?: throw PulumiNullFieldException("name"),
tags = tags,
workspaceId = workspaceId ?: throw PulumiNullFieldException("workspaceId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy