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

com.pulumi.cloudflare.kotlin.inputs.TeamsRuleRuleSettingsNotificationSettingsArgs.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.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.TeamsRuleRuleSettingsNotificationSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enabled Enable notification settings.
 * @property message Notification content.
 * @property supportUrl Support URL to show in the notification.
 */
public data class TeamsRuleRuleSettingsNotificationSettingsArgs(
    public val enabled: Output? = null,
    public val message: Output? = null,
    public val supportUrl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.TeamsRuleRuleSettingsNotificationSettingsArgs = com.pulumi.cloudflare.inputs.TeamsRuleRuleSettingsNotificationSettingsArgs.builder()
        .enabled(enabled?.applyValue({ args0 -> args0 }))
        .message(message?.applyValue({ args0 -> args0 }))
        .supportUrl(supportUrl?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TeamsRuleRuleSettingsNotificationSettingsArgs].
 */
@PulumiTagMarker
public class TeamsRuleRuleSettingsNotificationSettingsArgsBuilder internal constructor() {
    private var enabled: Output? = null

    private var message: Output? = null

    private var supportUrl: Output? = null

    /**
     * @param value Enable notification settings.
     */
    @JvmName("mqnnsqjbwvkpfxfy")
    public suspend fun enabled(`value`: Output) {
        this.enabled = value
    }

    /**
     * @param value Notification content.
     */
    @JvmName("pqqfnbrfluwakhhs")
    public suspend fun message(`value`: Output) {
        this.message = value
    }

    /**
     * @param value Support URL to show in the notification.
     */
    @JvmName("gjgbbimwtbbtcefk")
    public suspend fun supportUrl(`value`: Output) {
        this.supportUrl = value
    }

    /**
     * @param value Enable notification settings.
     */
    @JvmName("tllpfwagvcfdugno")
    public suspend fun enabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enabled = mapped
    }

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

    /**
     * @param value Support URL to show in the notification.
     */
    @JvmName("smlkvfnpyescdutr")
    public suspend fun supportUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.supportUrl = mapped
    }

    internal fun build(): TeamsRuleRuleSettingsNotificationSettingsArgs =
        TeamsRuleRuleSettingsNotificationSettingsArgs(
            enabled = enabled,
            message = message,
            supportUrl = supportUrl,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy