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

com.pulumi.aws.cognito.kotlin.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.cognito.kotlin.inputs

import com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs.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
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs(
    public val htmlBody: Output,
    public val subject: Output,
    public val textBody: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs =
        com.pulumi.aws.cognito.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs.builder()
            .htmlBody(htmlBody.applyValue({ args0 -> args0 }))
            .subject(subject.applyValue({ args0 -> args0 }))
            .textBody(textBody.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs].
 */
@PulumiTagMarker
public class
RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgsBuilder
internal constructor() {
    private var htmlBody: Output? = null

    private var subject: Output? = null

    private var textBody: Output? = null

    /**
     * @param value The email HTML body.
     */
    @JvmName("uqfmfracjnidjkbs")
    public suspend fun htmlBody(`value`: Output) {
        this.htmlBody = value
    }

    /**
     * @param value The email subject.
     */
    @JvmName("ssinnlvmlcuowqxe")
    public suspend fun subject(`value`: Output) {
        this.subject = value
    }

    /**
     * @param value The email text body.
     */
    @JvmName("syeoxewdbevhhbpk")
    public suspend fun textBody(`value`: Output) {
        this.textBody = value
    }

    /**
     * @param value The email HTML body.
     */
    @JvmName("gtpubeocucdlkgtp")
    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("rhqiutjlsuuebbch")
    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("bppwmepceifwgmpq")
    public suspend fun textBody(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.textBody = mapped
    }

    internal fun build(): RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs =
        RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationBlockEmailArgs(
            htmlBody = htmlBody ?: throw PulumiNullFieldException("htmlBody"),
            subject = subject ?: throw PulumiNullFieldException("subject"),
            textBody = textBody ?: throw PulumiNullFieldException("textBody"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy