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

com.pulumi.awsnative.vpclattice.kotlin.outputs.RuleHeaderMatch.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.vpclattice.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property caseSensitive Indicates whether the match is case sensitive.
 * @property match The header match type.
 * @property name The name of the header.
 */
public data class RuleHeaderMatch(
    public val caseSensitive: Boolean? = null,
    public val match: RuleHeaderMatchType,
    public val name: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.vpclattice.outputs.RuleHeaderMatch): RuleHeaderMatch = RuleHeaderMatch(
            caseSensitive = javaType.caseSensitive().map({ args0 -> args0 }).orElse(null),
            match = javaType.match().let({ args0 ->
                com.pulumi.awsnative.vpclattice.kotlin.outputs.RuleHeaderMatchType.Companion.toKotlin(args0)
            }),
            name = javaType.name(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy