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

com.pulumi.aws.cognito.kotlin.inputs.RiskConfigurationAccountTakeoverRiskConfigurationNotifyConfigurationMfaEmailArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

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

    private var subject: Output? = null

    private var textBody: Output? = null

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

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy