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

com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRuleSetRuleAction0PropertiesArgs.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.MailManagerRuleSetRuleAction0PropertiesArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

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

/**
 * Builder for [MailManagerRuleSetRuleAction0PropertiesArgs].
 */
@PulumiTagMarker
public class MailManagerRuleSetRuleAction0PropertiesArgsBuilder internal constructor() {
    private var drop: Output? = null

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

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

    /**
     * @param argument
     */
    @JvmName("lcgbhmkhpkenrimy")
    public suspend fun drop(argument: suspend MailManagerRuleSetDropActionArgsBuilder.() -> Unit) {
        val toBeMapped = MailManagerRuleSetDropActionArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.drop = mapped
    }

    internal fun build(): MailManagerRuleSetRuleAction0PropertiesArgs =
        MailManagerRuleSetRuleAction0PropertiesArgs(
            drop = drop ?: throw PulumiNullFieldException("drop"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy