All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudidentity.kotlin.inputs.GroupMembershipPreferredMemberKeyArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudidentity.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudidentity.inputs.GroupMembershipPreferredMemberKeyArgs.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

/**
 *
 * @property id The ID of the entity.
 * For Google-managed entities, the id must be the email address of an existing
 * group or user.
 * For external-identity-mapped entities, the id must be a string conforming
 * to the Identity Source's requirements.
 * Must be unique within a namespace.
 * @property namespace The namespace in which the entity exists.
 * If not specified, the EntityKey represents a Google-managed entity
 * such as a Google user or a Google Group.
 * If specified, the EntityKey represents an external-identity-mapped group.
 * The namespace must correspond to an identity source created in Admin Console
 * and must be in the form of `identitysources/{identity_source_id}`.
 */
public data class GroupMembershipPreferredMemberKeyArgs(
    public val id: Output,
    public val namespace: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.cloudidentity.inputs.GroupMembershipPreferredMemberKeyArgs =
        com.pulumi.gcp.cloudidentity.inputs.GroupMembershipPreferredMemberKeyArgs.builder()
            .id(id.applyValue({ args0 -> args0 }))
            .namespace(namespace?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GroupMembershipPreferredMemberKeyArgs].
 */
@PulumiTagMarker
public class GroupMembershipPreferredMemberKeyArgsBuilder internal constructor() {
    private var id: Output? = null

    private var namespace: Output? = null

    /**
     * @param value The ID of the entity.
     * For Google-managed entities, the id must be the email address of an existing
     * group or user.
     * For external-identity-mapped entities, the id must be a string conforming
     * to the Identity Source's requirements.
     * Must be unique within a namespace.
     */
    @JvmName("ntbiotghrqraqepp")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The namespace in which the entity exists.
     * If not specified, the EntityKey represents a Google-managed entity
     * such as a Google user or a Google Group.
     * If specified, the EntityKey represents an external-identity-mapped group.
     * The namespace must correspond to an identity source created in Admin Console
     * and must be in the form of `identitysources/{identity_source_id}`.
     */
    @JvmName("llbefdncblwpsisx")
    public suspend fun namespace(`value`: Output) {
        this.namespace = value
    }

    /**
     * @param value The ID of the entity.
     * For Google-managed entities, the id must be the email address of an existing
     * group or user.
     * For external-identity-mapped entities, the id must be a string conforming
     * to the Identity Source's requirements.
     * Must be unique within a namespace.
     */
    @JvmName("ulqwgnyuayllocax")
    public suspend fun id(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The namespace in which the entity exists.
     * If not specified, the EntityKey represents a Google-managed entity
     * such as a Google user or a Google Group.
     * If specified, the EntityKey represents an external-identity-mapped group.
     * The namespace must correspond to an identity source created in Admin Console
     * and must be in the form of `identitysources/{identity_source_id}`.
     */
    @JvmName("yatxtcowppohmpmy")
    public suspend fun namespace(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.namespace = mapped
    }

    internal fun build(): GroupMembershipPreferredMemberKeyArgs =
        GroupMembershipPreferredMemberKeyArgs(
            id = id ?: throw PulumiNullFieldException("id"),
            namespace = namespace,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy