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

com.pulumi.awsnative.ses.kotlin.inputs.MailManagerRuleSetRuleNumberExpressionArgs.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.MailManagerRuleSetRuleNumberExpressionArgs.builder
import com.pulumi.awsnative.ses.kotlin.enums.MailManagerRuleSetRuleNumberOperator
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.Double
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

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

/**
 * Builder for [MailManagerRuleSetRuleNumberExpressionArgs].
 */
@PulumiTagMarker
public class MailManagerRuleSetRuleNumberExpressionArgsBuilder internal constructor() {
    private var evaluate: Output? = null

    private var `operator`: Output? = null

    private var `value`: Output? = null

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

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

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

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

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

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

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

    internal fun build(): MailManagerRuleSetRuleNumberExpressionArgs =
        MailManagerRuleSetRuleNumberExpressionArgs(
            evaluate = evaluate ?: throw PulumiNullFieldException("evaluate"),
            `operator` = `operator` ?: throw PulumiNullFieldException("operator"),
            `value` = `value` ?: throw PulumiNullFieldException("value"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy