com.pulumi.aws.cognito.kotlin.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cognito.kotlin.inputs
import com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs.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.jvm.JvmName
/**
*
* @property htmlBody The email HTML body.
* @property subject The email subject.
* @property textBody The email text body.
*/
public data class
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs(
public val htmlBody: Output,
public val subject: Output,
public val textBody: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs =
com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs.builder()
.htmlBody(htmlBody.applyValue({ args0 -> args0 }))
.subject(subject.applyValue({ args0 -> args0 }))
.textBody(textBody.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs].
*/
@PulumiTagMarker
public class
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgsBuilder
internal constructor() {
private var htmlBody: Output? = null
private var subject: Output? = null
private var textBody: Output? = null
/**
* @param value The email HTML body.
*/
@JvmName("ivxlrwbodpwmnsmd")
public suspend fun htmlBody(`value`: Output) {
this.htmlBody = value
}
/**
* @param value The email subject.
*/
@JvmName("blbuqvkbfkpheoqi")
public suspend fun subject(`value`: Output) {
this.subject = value
}
/**
* @param value The email text body.
*/
@JvmName("ourgntsabhchpmht")
public suspend fun textBody(`value`: Output) {
this.textBody = value
}
/**
* @param value The email HTML body.
*/
@JvmName("ydginafqblgsdebl")
public suspend fun htmlBody(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.htmlBody = mapped
}
/**
* @param value The email subject.
*/
@JvmName("iqqorgaghnsthwbo")
public suspend fun subject(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.subject = mapped
}
/**
* @param value The email text body.
*/
@JvmName("pjqkjkxuvgbtykaf")
public suspend fun textBody(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.textBody = mapped
}
internal fun build(): RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs =
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationNoActionEmailArgs(
htmlBody = htmlBody ?: throw PulumiNullFieldException("htmlBody"),
subject = subject ?: throw PulumiNullFieldException("subject"),
textBody = textBody ?: throw PulumiNullFieldException("textBody"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy