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

com.pulumi.googlenative.integrations.v1alpha.kotlin.inputs.EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs.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.

The newest version!
@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.EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs.builder
import com.pulumi.googlenative.integrations.v1alpha.kotlin.enums.EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType
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.jvm.JvmName

/**
 * Key-value pair of EventBus parameters.
 * @property dataType Explicitly getting the type of the parameter.
 * @property key Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
 * @property value Values for the defined keys. Each value can either be string, int, double or any proto message.
 */
public data class EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs(
    public val dataType: Output? = null,
    public val key: Output? = null,
    public val `value`: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.integrations.v1alpha.inputs.EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs =
        com.pulumi.googlenative.integrations.v1alpha.inputs.EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs.builder()
            .dataType(dataType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .key(key?.applyValue({ args0 -> args0 }))
            .`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs].
 */
@PulumiTagMarker
public class EnterpriseCrmFrontendsEventbusProtoParameterEntryArgsBuilder internal constructor() {
    private var dataType: Output? = null

    private var key: Output? = null

    private var `value`: Output? = null

    /**
     * @param value Explicitly getting the type of the parameter.
     */
    @JvmName("rnghfkvioijljugv")
    public suspend fun dataType(`value`: Output) {
        this.dataType = value
    }

    /**
     * @param value Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
     */
    @JvmName("tybsxnqfacfpeyso")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

    /**
     * @param value Values for the defined keys. Each value can either be string, int, double or any proto message.
     */
    @JvmName("lpwckwtlbbhtiolw")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value Explicitly getting the type of the parameter.
     */
    @JvmName("lvnoilpeouicwkuy")
    public suspend fun dataType(`value`: EnterpriseCrmFrontendsEventbusProtoParameterEntryDataType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataType = mapped
    }

    /**
     * @param value Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition.
     */
    @JvmName("nunvcxfoeenockya")
    public suspend fun key(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.key = mapped
    }

    /**
     * @param value Values for the defined keys. Each value can either be string, int, double or any proto message.
     */
    @JvmName("vkvbovehxmjwfmcj")
    public suspend fun `value`(`value`: EnterpriseCrmFrontendsEventbusProtoParameterValueTypeArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    /**
     * @param argument Values for the defined keys. Each value can either be string, int, double or any proto message.
     */
    @JvmName("gmlkiurfabbeomon")
    public suspend fun `value`(argument: suspend EnterpriseCrmFrontendsEventbusProtoParameterValueTypeArgsBuilder.() -> Unit) {
        val toBeMapped =
            EnterpriseCrmFrontendsEventbusProtoParameterValueTypeArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.`value` = mapped
    }

    internal fun build(): EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs =
        EnterpriseCrmFrontendsEventbusProtoParameterEntryArgs(
            dataType = dataType,
            key = key,
            `value` = `value`,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy