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

com.pulumi.googlenative.integrations.v1alpha.kotlin.inputs.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.googlenative.integrations.v1alpha.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.integrations.v1alpha.inputs.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property parameters
 */
public data class EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs(
    public val parameters: Output>? =
        null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.integrations.v1alpha.inputs.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs =
        com.pulumi.googlenative.integrations.v1alpha.inputs.EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs.builder()
            .parameters(
                parameters?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs].
 */
@PulumiTagMarker
public class EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgsBuilder internal constructor() {
    private var parameters: Output>? =
        null

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

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

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

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

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

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

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

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

    internal fun build(): EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs =
        EnterpriseCrmFrontendsEventbusProtoParamSpecsMessageArgs(
            parameters = parameters,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy