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

com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRuleSetReplaceRecipientActionArgs.kt Maven / Gradle / Ivy

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

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

import com.pulumi.awsnative.ses.inputs.MailManagerRuleSetReplaceRecipientActionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property replaceWith
 */
public data class MailManagerRuleSetReplaceRecipientActionArgs(
    public val replaceWith: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ses.inputs.MailManagerRuleSetReplaceRecipientActionArgs =
        com.pulumi.awsnative.ses.inputs.MailManagerRuleSetReplaceRecipientActionArgs.builder()
            .replaceWith(replaceWith?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [MailManagerRuleSetReplaceRecipientActionArgs].
 */
@PulumiTagMarker
public class MailManagerRuleSetReplaceRecipientActionArgsBuilder internal constructor() {
    private var replaceWith: Output>? = null

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

    @JvmName("ietfpvywknuwkrky")
    public suspend fun replaceWith(vararg values: Output) {
        this.replaceWith = Output.all(values.asList())
    }

    /**
     * @param values
     */
    @JvmName("bpyaaeicuerileuq")
    public suspend fun replaceWith(values: List>) {
        this.replaceWith = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("mnhydysdkjwksvyu")
    public suspend fun replaceWith(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.replaceWith = mapped
    }

    /**
     * @param values
     */
    @JvmName("xmkaxcgtspdxouhm")
    public suspend fun replaceWith(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.replaceWith = mapped
    }

    internal fun build(): MailManagerRuleSetReplaceRecipientActionArgs =
        MailManagerRuleSetReplaceRecipientActionArgs(
            replaceWith = replaceWith,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy