com.pulumi.gcp.serviceaccount.kotlin.inputs.GetIamPolicyPlainArgs.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.serviceaccount.kotlin.inputs
import com.pulumi.gcp.serviceaccount.inputs.GetIamPolicyPlainArgs.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 getIamPolicy.
* @property serviceAccountId The fully-qualified name of the service account to apply policy to.
*/
public data class GetIamPolicyPlainArgs(
public val serviceAccountId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.serviceaccount.inputs.GetIamPolicyPlainArgs =
com.pulumi.gcp.serviceaccount.inputs.GetIamPolicyPlainArgs.builder()
.serviceAccountId(serviceAccountId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetIamPolicyPlainArgs].
*/
@PulumiTagMarker
public class GetIamPolicyPlainArgsBuilder internal constructor() {
private var serviceAccountId: String? = null
/**
* @param value The fully-qualified name of the service account to apply policy to.
*/
@JvmName("dooqbqbksoqgyuub")
public suspend fun serviceAccountId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.serviceAccountId = mapped
}
internal fun build(): GetIamPolicyPlainArgs = GetIamPolicyPlainArgs(
serviceAccountId = serviceAccountId ?: throw PulumiNullFieldException("serviceAccountId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy