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

com.pulumi.awsnative.identitystore.kotlin.inputs.GetGroupMembershipPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.identitystore.kotlin.inputs

import com.pulumi.awsnative.identitystore.inputs.GetGroupMembershipPlainArgs.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 identityStoreId The globally unique identifier for the identity store.
 * @property membershipId The identifier for a GroupMembership in the identity store.
 */
public data class GetGroupMembershipPlainArgs(
    public val identityStoreId: String,
    public val membershipId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.identitystore.inputs.GetGroupMembershipPlainArgs =
        com.pulumi.awsnative.identitystore.inputs.GetGroupMembershipPlainArgs.builder()
            .identityStoreId(identityStoreId.let({ args0 -> args0 }))
            .membershipId(membershipId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetGroupMembershipPlainArgs].
 */
@PulumiTagMarker
public class GetGroupMembershipPlainArgsBuilder internal constructor() {
    private var identityStoreId: String? = null

    private var membershipId: String? = null

    /**
     * @param value The globally unique identifier for the identity store.
     */
    @JvmName("wsrtmbohelbassth")
    public suspend fun identityStoreId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.identityStoreId = mapped
    }

    /**
     * @param value The identifier for a GroupMembership in the identity store.
     */
    @JvmName("dgfnhocmvpsfyctp")
    public suspend fun membershipId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.membershipId = mapped
    }

    internal fun build(): GetGroupMembershipPlainArgs = GetGroupMembershipPlainArgs(
        identityStoreId = identityStoreId ?: throw PulumiNullFieldException("identityStoreId"),
        membershipId = membershipId ?: throw PulumiNullFieldException("membershipId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy