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

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

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

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

/**
 * Builder for [MailManagerRuleSetRuleAction2PropertiesArgs].
 */
@PulumiTagMarker
public class MailManagerRuleSetRuleAction2PropertiesArgsBuilder internal constructor() {
    private var archive: Output? = null

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

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

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

    internal fun build(): MailManagerRuleSetRuleAction2PropertiesArgs =
        MailManagerRuleSetRuleAction2PropertiesArgs(
            archive = archive ?: throw PulumiNullFieldException("archive"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy