![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.costmanagement.kotlin.inputs.NotificationPropertiesArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.costmanagement.kotlin.inputs
import com.pulumi.azurenative.costmanagement.inputs.NotificationPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The properties of the scheduled action notification.
* @property language Locale of the email.
* @property message Optional message to be added in the email. Length is limited to 250 characters.
* @property regionalFormat Regional format used for formatting date/time and currency values in the email.
* @property subject Subject of the email. Length is limited to 70 characters.
* @property to Array of email addresses.
*/
public data class NotificationPropertiesArgs(
public val language: Output? = null,
public val message: Output? = null,
public val regionalFormat: Output? = null,
public val subject: Output,
public val to: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.costmanagement.inputs.NotificationPropertiesArgs =
com.pulumi.azurenative.costmanagement.inputs.NotificationPropertiesArgs.builder()
.language(language?.applyValue({ args0 -> args0 }))
.message(message?.applyValue({ args0 -> args0 }))
.regionalFormat(regionalFormat?.applyValue({ args0 -> args0 }))
.subject(subject.applyValue({ args0 -> args0 }))
.to(to.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [NotificationPropertiesArgs].
*/
@PulumiTagMarker
public class NotificationPropertiesArgsBuilder internal constructor() {
private var language: Output? = null
private var message: Output? = null
private var regionalFormat: Output? = null
private var subject: Output? = null
private var to: Output>? = null
/**
* @param value Locale of the email.
*/
@JvmName("fdltdanjekyrpykc")
public suspend fun language(`value`: Output) {
this.language = value
}
/**
* @param value Optional message to be added in the email. Length is limited to 250 characters.
*/
@JvmName("tyhsgqrgrphltrcu")
public suspend fun message(`value`: Output) {
this.message = value
}
/**
* @param value Regional format used for formatting date/time and currency values in the email.
*/
@JvmName("dpdkcvrgjackrosc")
public suspend fun regionalFormat(`value`: Output) {
this.regionalFormat = value
}
/**
* @param value Subject of the email. Length is limited to 70 characters.
*/
@JvmName("fpgpgutkesdihfrx")
public suspend fun subject(`value`: Output) {
this.subject = value
}
/**
* @param value Array of email addresses.
*/
@JvmName("nlyytosuyecululc")
public suspend fun to(`value`: Output>) {
this.to = value
}
@JvmName("ahqkauchkcbekias")
public suspend fun to(vararg values: Output) {
this.to = Output.all(values.asList())
}
/**
* @param values Array of email addresses.
*/
@JvmName("jhhrdtjxusxhlyms")
public suspend fun to(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy