com.pulumi.gcp.healthcare.kotlin.inputs.GetConsentStoreIamPolicyPlainArgs.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.gcp.healthcare.inputs.GetConsentStoreIamPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getConsentStoreIamPolicy.
* @property consentStoreId Used to find the parent resource to bind the IAM policy to
* @property dataset Identifies the dataset addressed by this request. Must be in the format
* 'projects/{project}/locations/{location}/datasets/{dataset}'
* Used to find the parent resource to bind the IAM policy to
*/
public data class GetConsentStoreIamPolicyPlainArgs(
public val consentStoreId: String,
public val dataset: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.healthcare.inputs.GetConsentStoreIamPolicyPlainArgs =
com.pulumi.gcp.healthcare.inputs.GetConsentStoreIamPolicyPlainArgs.builder()
.consentStoreId(consentStoreId.let({ args0 -> args0 }))
.dataset(dataset.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetConsentStoreIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetConsentStoreIamPolicyPlainArgsBuilder internal constructor() {
private var consentStoreId: String? = null
private var dataset: String? = null
/**
* @param value Used to find the parent resource to bind the IAM policy to
*/
@JvmName("rjawvemiirwcyrbg")
public suspend fun consentStoreId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.consentStoreId = mapped
}
/**
* @param value Identifies the dataset addressed by this request. Must be in the format
* 'projects/{project}/locations/{location}/datasets/{dataset}'
* Used to find the parent resource to bind the IAM policy to
*/
@JvmName("vntaiyqdubcluuou")
public suspend fun dataset(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.dataset = mapped
}
internal fun build(): GetConsentStoreIamPolicyPlainArgs = GetConsentStoreIamPolicyPlainArgs(
consentStoreId = consentStoreId ?: throw PulumiNullFieldException("consentStoreId"),
dataset = dataset ?: throw PulumiNullFieldException("dataset"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy