com.pulumi.cloudflare.kotlin.inputs.TeamsAccountAntivirusNotificationSettingsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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("pkgnjropkvljuthd")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Notification content.
*/
@JvmName("lixxqabkkiykrhtw")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value Support URL to show in the notification.
*/
@JvmName("iwgcpwtwxulxadly")
public suspend fun supportUrl(`value`: Output) {
this.supportUrl = value
}
/**
* @param value Enable notification settings.
*/
@JvmName("njwhfduxiueduobd")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value Notification content.
*/
@JvmName("wtadtgntrwfjwrrx")
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("aerqugdeappedckt")
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,
)
}