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

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

There is a newer version: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

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

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

    private var message: Output? = null

    private var supportUrl: Output? = null

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

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy