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

com.pulumi.awsnative.cleanrooms.kotlin.IdNamespaceAssociationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.cleanrooms.kotlin

import com.pulumi.awsnative.cleanrooms.IdNamespaceAssociationArgs.builder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.IdNamespaceAssociationIdMappingConfigArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.IdNamespaceAssociationIdMappingConfigArgsBuilder
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.IdNamespaceAssociationInputReferenceConfigArgs
import com.pulumi.awsnative.cleanrooms.kotlin.inputs.IdNamespaceAssociationInputReferenceConfigArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Represents an association between an ID namespace and a collaboration
 * @property description The description of the ID namespace association.
 * @property idMappingConfig The configuration settings for the ID mapping table.
 * @property inputReferenceConfig The input reference configuration for the ID namespace association.
 * @property membershipIdentifier The unique identifier of the membership that contains the ID namespace association.
 * @property name The name of this ID namespace association.
 * @property tags
 */
public data class IdNamespaceAssociationArgs(
    public val description: Output? = null,
    public val idMappingConfig: Output? = null,
    public val inputReferenceConfig: Output? = null,
    public val membershipIdentifier: Output? = null,
    public val name: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.cleanrooms.IdNamespaceAssociationArgs =
        com.pulumi.awsnative.cleanrooms.IdNamespaceAssociationArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .idMappingConfig(idMappingConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .inputReferenceConfig(
                inputReferenceConfig?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .membershipIdentifier(membershipIdentifier?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [IdNamespaceAssociationArgs].
 */
@PulumiTagMarker
public class IdNamespaceAssociationArgsBuilder internal constructor() {
    private var description: Output? = null

    private var idMappingConfig: Output? = null

    private var inputReferenceConfig: Output? = null

    private var membershipIdentifier: Output? = null

    private var name: Output? = null

    private var tags: Output>? = null

    /**
     * @param value The description of the ID namespace association.
     */
    @JvmName("pksbveaxnaiccfbk")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The configuration settings for the ID mapping table.
     */
    @JvmName("gggdkjkhnbuliwlg")
    public suspend fun idMappingConfig(`value`: Output) {
        this.idMappingConfig = value
    }

    /**
     * @param value The input reference configuration for the ID namespace association.
     */
    @JvmName("uirkulwafnkibijp")
    public suspend fun inputReferenceConfig(`value`: Output) {
        this.inputReferenceConfig = value
    }

    /**
     * @param value The unique identifier of the membership that contains the ID namespace association.
     */
    @JvmName("rthebcimearwtjhb")
    public suspend fun membershipIdentifier(`value`: Output) {
        this.membershipIdentifier = value
    }

    /**
     * @param value The name of this ID namespace association.
     */
    @JvmName("icmbvevsvaopfeos")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("cycorqrvfmnlgrjb")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("egqrctnclarjjpko")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("agekbuqigecvhrsn")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value The description of the ID namespace association.
     */
    @JvmName("gutthigiowkpxono")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The configuration settings for the ID mapping table.
     */
    @JvmName("vwelwcdftvdidqxd")
    public suspend fun idMappingConfig(`value`: IdNamespaceAssociationIdMappingConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.idMappingConfig = mapped
    }

    /**
     * @param argument The configuration settings for the ID mapping table.
     */
    @JvmName("petijlymwvtywnsd")
    public suspend fun idMappingConfig(argument: suspend IdNamespaceAssociationIdMappingConfigArgsBuilder.() -> Unit) {
        val toBeMapped = IdNamespaceAssociationIdMappingConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.idMappingConfig = mapped
    }

    /**
     * @param value The input reference configuration for the ID namespace association.
     */
    @JvmName("xbkhtpvwitftghpv")
    public suspend fun inputReferenceConfig(`value`: IdNamespaceAssociationInputReferenceConfigArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inputReferenceConfig = mapped
    }

    /**
     * @param argument The input reference configuration for the ID namespace association.
     */
    @JvmName("kgjodsmhenuikgkr")
    public suspend fun inputReferenceConfig(argument: suspend IdNamespaceAssociationInputReferenceConfigArgsBuilder.() -> Unit) {
        val toBeMapped = IdNamespaceAssociationInputReferenceConfigArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.inputReferenceConfig = mapped
    }

    /**
     * @param value The unique identifier of the membership that contains the ID namespace association.
     */
    @JvmName("wouemrptgorixuaj")
    public suspend fun membershipIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.membershipIdentifier = mapped
    }

    /**
     * @param value The name of this ID namespace association.
     */
    @JvmName("moonuphswocprtdm")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("dqgcelxallurlhsh")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument
     */
    @JvmName("emwcstfkmieexuyd")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument
     */
    @JvmName("ynigheraoeixpeau")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument
     */
    @JvmName("dwvqqoyoavvxqjso")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values
     */
    @JvmName("fxoblrjqhsxhoyxs")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): IdNamespaceAssociationArgs = IdNamespaceAssociationArgs(
        description = description,
        idMappingConfig = idMappingConfig,
        inputReferenceConfig = inputReferenceConfig,
        membershipIdentifier = membershipIdentifier,
        name = name,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy