com.pulumi.gcp.cloudidentity.kotlin.inputs.GetGroupLookupPlainArgs.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.cloudidentity.kotlin.inputs
import com.pulumi.gcp.cloudidentity.inputs.GetGroupLookupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getGroupLookup.
* @property groupKey The EntityKey of the Group to lookup. A unique identifier for an entity in the Cloud Identity Groups API.
* An entity can represent either a group with an optional namespace or a user without a namespace.
* The combination of id and namespace must be unique; however, the same id can be used with different namespaces. Structure is documented below.
*/
public data class GetGroupLookupPlainArgs(
public val groupKey: GetGroupLookupGroupKey,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudidentity.inputs.GetGroupLookupPlainArgs =
com.pulumi.gcp.cloudidentity.inputs.GetGroupLookupPlainArgs.builder()
.groupKey(groupKey.let({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GetGroupLookupPlainArgs].
*/
@PulumiTagMarker
public class GetGroupLookupPlainArgsBuilder internal constructor() {
private var groupKey: GetGroupLookupGroupKey? = null
/**
* @param value The EntityKey of the Group to lookup. A unique identifier for an entity in the Cloud Identity Groups API.
* An entity can represent either a group with an optional namespace or a user without a namespace.
* The combination of id and namespace must be unique; however, the same id can be used with different namespaces. Structure is documented below.
*/
@JvmName("equslknxhfaqjmxl")
public suspend fun groupKey(`value`: GetGroupLookupGroupKey) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.groupKey = mapped
}
/**
* @param argument The EntityKey of the Group to lookup. A unique identifier for an entity in the Cloud Identity Groups API.
* An entity can represent either a group with an optional namespace or a user without a namespace.
* The combination of id and namespace must be unique; however, the same id can be used with different namespaces. Structure is documented below.
*/
@JvmName("gmgmfuppxjvavgoj")
public suspend fun groupKey(argument: suspend GetGroupLookupGroupKeyBuilder.() -> Unit) {
val toBeMapped = GetGroupLookupGroupKeyBuilder().applySuspend { argument() }.build()
val mapped = toBeMapped
this.groupKey = mapped
}
internal fun build(): GetGroupLookupPlainArgs = GetGroupLookupPlainArgs(
groupKey = groupKey ?: throw PulumiNullFieldException("groupKey"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy