com.pulumi.cloudflare.kotlin.inputs.EmailRoutingRuleActionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.EmailRoutingRuleActionArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property type Type of action. Available values: `forward`, `worker`, `drop`
* @property values Value to match on. Required for `type` of `literal`.
*/
public data class EmailRoutingRuleActionArgs(
public val type: Output,
public val values: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.EmailRoutingRuleActionArgs =
com.pulumi.cloudflare.inputs.EmailRoutingRuleActionArgs.builder()
.type(type.applyValue({ args0 -> args0 }))
.values(values?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [EmailRoutingRuleActionArgs].
*/
@PulumiTagMarker
public class EmailRoutingRuleActionArgsBuilder internal constructor() {
private var type: Output? = null
private var values: Output>? = null
/**
* @param value Type of action. Available values: `forward`, `worker`, `drop`
*/
@JvmName("bkpgxwnrllnihnuj")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Value to match on. Required for `type` of `literal`.
*/
@JvmName("oamdpmtismrrcfxt")
public suspend fun values(`value`: Output>) {
this.values = value
}
@JvmName("nmtuchqlionehcmq")
public suspend fun values(vararg values: Output) {
this.values = Output.all(values.asList())
}
/**
* @param values Value to match on. Required for `type` of `literal`.
*/
@JvmName("ilvfhimepukdyrxk")
public suspend fun values(values: List