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

com.pulumi.cloudflare.kotlin.inputs.TeamsAccountAntivirusNotificationSettingsArgs.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.TeamsAccountAntivirusNotificationSettingsArgs.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 TeamsAccountAntivirusNotificationSettingsArgs(
    public val enabled: Output? = null,
    public val message: Output? = null,
    public val supportUrl: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.TeamsAccountAntivirusNotificationSettingsArgs = com.pulumi.cloudflare.inputs.TeamsAccountAntivirusNotificationSettingsArgs.builder()
        .enabled(enabled?.applyValue({ args0 -> args0 }))
        .message(message?.applyValue({ args0 -> args0 }))
        .supportUrl(supportUrl?.applyValue({ args0 -> args0 })).build()
}

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

    private var message: Output? = null

    private var supportUrl: Output? = null

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

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

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

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

    /**
     * @param value Notification content.
     */
    @JvmName("njqfootdxtrrgstn")
    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("dreaiwlyfwbvoocy")
    public suspend fun supportUrl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.supportUrl = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy