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

com.pulumi.cloudflare.kotlin.outputs.EmailRoutingRuleMatcher.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.

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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy