com.pulumi.cloudflare.kotlin.outputs.EmailRoutingRuleMatcher.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property field Field to match on. Required for `type` of `literal`.
* @property type Type of matcher. Available values: `literal`, `all`
* @property value Value to match on. Required for `type` of `literal`.
*/
public data class EmailRoutingRuleMatcher(
public val `field`: String? = null,
public val type: String,
public val `value`: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.EmailRoutingRuleMatcher): EmailRoutingRuleMatcher = EmailRoutingRuleMatcher(
`field` = javaType.`field`().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
`value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
)
}
}