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

com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRuleSetAddHeaderActionArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ses.kotlin.inputs

import com.pulumi.awsnative.ses.inputs.MailManagerRuleSetAddHeaderActionArgs.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 headerName
 * @property headerValue
 */
public data class MailManagerRuleSetAddHeaderActionArgs(
    public val headerName: Output,
    public val headerValue: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ses.inputs.MailManagerRuleSetAddHeaderActionArgs =
        com.pulumi.awsnative.ses.inputs.MailManagerRuleSetAddHeaderActionArgs.builder()
            .headerName(headerName.applyValue({ args0 -> args0 }))
            .headerValue(headerValue.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [MailManagerRuleSetAddHeaderActionArgs].
 */
@PulumiTagMarker
public class MailManagerRuleSetAddHeaderActionArgsBuilder internal constructor() {
    private var headerName: Output? = null

    private var headerValue: Output? = null

    /**
     * @param value
     */
    @JvmName("pqekcoacaaaqocys")
    public suspend fun headerName(`value`: Output) {
        this.headerName = value
    }

    /**
     * @param value
     */
    @JvmName("tuasmqruhyhporex")
    public suspend fun headerValue(`value`: Output) {
        this.headerValue = value
    }

    /**
     * @param value
     */
    @JvmName("jhpyrnbtkegvdoky")
    public suspend fun headerName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.headerName = mapped
    }

    /**
     * @param value
     */
    @JvmName("kstnxbwmdijgwgwl")
    public suspend fun headerValue(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.headerValue = mapped
    }

    internal fun build(): MailManagerRuleSetAddHeaderActionArgs =
        MailManagerRuleSetAddHeaderActionArgs(
            headerName = headerName ?: throw PulumiNullFieldException("headerName"),
            headerValue = headerValue ?: throw PulumiNullFieldException("headerValue"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy