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

com.pulumi.azurenative.testbase.kotlin.inputs.NotificationReceiverValueArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.testbase.kotlin.inputs

import com.pulumi.azurenative.testbase.inputs.NotificationReceiverValueArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * A notification event receiver value.
 * @property distributionGroupListReceiverValue The user object receiver value.
 * @property subscriptionReceiverValue The user object receiver value.
 * @property userObjectReceiverValue The user object receiver value.
 */
public data class NotificationReceiverValueArgs(
    public val distributionGroupListReceiverValue: Output? =
        null,
    public val subscriptionReceiverValue: Output? = null,
    public val userObjectReceiverValue: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.testbase.inputs.NotificationReceiverValueArgs =
        com.pulumi.azurenative.testbase.inputs.NotificationReceiverValueArgs.builder()
            .distributionGroupListReceiverValue(
                distributionGroupListReceiverValue?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .subscriptionReceiverValue(
                subscriptionReceiverValue?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .userObjectReceiverValue(
                userObjectReceiverValue?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [NotificationReceiverValueArgs].
 */
@PulumiTagMarker
public class NotificationReceiverValueArgsBuilder internal constructor() {
    private var distributionGroupListReceiverValue: Output? =
        null

    private var subscriptionReceiverValue: Output? = null

    private var userObjectReceiverValue: Output? = null

    /**
     * @param value The user object receiver value.
     */
    @JvmName("dlmdrksvkgcwsyun")
    public suspend fun distributionGroupListReceiverValue(`value`: Output) {
        this.distributionGroupListReceiverValue = value
    }

    /**
     * @param value The user object receiver value.
     */
    @JvmName("sfembdtuoqmhhhuq")
    public suspend fun subscriptionReceiverValue(`value`: Output) {
        this.subscriptionReceiverValue = value
    }

    /**
     * @param value The user object receiver value.
     */
    @JvmName("bwygmpsyxxgimwqe")
    public suspend fun userObjectReceiverValue(`value`: Output) {
        this.userObjectReceiverValue = value
    }

    /**
     * @param value The user object receiver value.
     */
    @JvmName("qthbtjemankviqqw")
    public suspend fun distributionGroupListReceiverValue(`value`: DistributionGroupListReceiverValueArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.distributionGroupListReceiverValue = mapped
    }

    /**
     * @param argument The user object receiver value.
     */
    @JvmName("aewoysseoyxpnqlm")
    public suspend fun distributionGroupListReceiverValue(argument: suspend DistributionGroupListReceiverValueArgsBuilder.() -> Unit) {
        val toBeMapped = DistributionGroupListReceiverValueArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.distributionGroupListReceiverValue = mapped
    }

    /**
     * @param value The user object receiver value.
     */
    @JvmName("iuldspmkihfyouyx")
    public suspend fun subscriptionReceiverValue(`value`: SubscriptionReceiverValueArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subscriptionReceiverValue = mapped
    }

    /**
     * @param argument The user object receiver value.
     */
    @JvmName("mwahrdpdaptyouiq")
    public suspend fun subscriptionReceiverValue(argument: suspend SubscriptionReceiverValueArgsBuilder.() -> Unit) {
        val toBeMapped = SubscriptionReceiverValueArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.subscriptionReceiverValue = mapped
    }

    /**
     * @param value The user object receiver value.
     */
    @JvmName("esgdbvsqhhbxkpiw")
    public suspend fun userObjectReceiverValue(`value`: UserObjectReceiverValueArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userObjectReceiverValue = mapped
    }

    /**
     * @param argument The user object receiver value.
     */
    @JvmName("xfypxclibphjdhgo")
    public suspend fun userObjectReceiverValue(argument: suspend UserObjectReceiverValueArgsBuilder.() -> Unit) {
        val toBeMapped = UserObjectReceiverValueArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.userObjectReceiverValue = mapped
    }

    internal fun build(): NotificationReceiverValueArgs = NotificationReceiverValueArgs(
        distributionGroupListReceiverValue = distributionGroupListReceiverValue,
        subscriptionReceiverValue = subscriptionReceiverValue,
        userObjectReceiverValue = userObjectReceiverValue,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy