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

com.pulumi.aws.cleanrooms.kotlin.inputs.CollaborationMemberArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cleanrooms.kotlin.inputs

import com.pulumi.aws.cleanrooms.inputs.CollaborationMemberArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property accountId
 * @property displayName
 * @property memberAbilities
 * @property status
 */
public data class CollaborationMemberArgs(
    public val accountId: Output,
    public val displayName: Output,
    public val memberAbilities: Output>,
    public val status: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cleanrooms.inputs.CollaborationMemberArgs =
        com.pulumi.aws.cleanrooms.inputs.CollaborationMemberArgs.builder()
            .accountId(accountId.applyValue({ args0 -> args0 }))
            .displayName(displayName.applyValue({ args0 -> args0 }))
            .memberAbilities(memberAbilities.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .status(status?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CollaborationMemberArgs].
 */
@PulumiTagMarker
public class CollaborationMemberArgsBuilder internal constructor() {
    private var accountId: Output? = null

    private var displayName: Output? = null

    private var memberAbilities: Output>? = null

    private var status: Output? = null

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

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

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

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

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

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

    /**
     * @param value
     */
    @JvmName("inpnqnxuaumlcawo")
    public suspend fun accountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accountId = mapped
    }

    /**
     * @param value
     */
    @JvmName("btoqvcsamcqnvfcw")
    public suspend fun displayName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.displayName = mapped
    }

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

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

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

    internal fun build(): CollaborationMemberArgs = CollaborationMemberArgs(
        accountId = accountId ?: throw PulumiNullFieldException("accountId"),
        displayName = displayName ?: throw PulumiNullFieldException("displayName"),
        memberAbilities = memberAbilities ?: throw PulumiNullFieldException("memberAbilities"),
        status = status,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy