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

com.pulumi.azurenative.app.kotlin.outputs.HeaderMatchResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.app.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Conditions required to match a header
 * @property exactMatch Exact value of the header
 * @property header Name of the header
 * @property prefixMatch Prefix value of the header
 * @property regexMatch Regex value of the header
 * @property suffixMatch Suffix value of the header
 */
public data class HeaderMatchResponse(
    public val exactMatch: String? = null,
    public val `header`: String? = null,
    public val prefixMatch: String? = null,
    public val regexMatch: String? = null,
    public val suffixMatch: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.app.outputs.HeaderMatchResponse): HeaderMatchResponse = HeaderMatchResponse(
            exactMatch = javaType.exactMatch().map({ args0 -> args0 }).orElse(null),
            `header` = javaType.`header`().map({ args0 -> args0 }).orElse(null),
            prefixMatch = javaType.prefixMatch().map({ args0 -> args0 }).orElse(null),
            regexMatch = javaType.regexMatch().map({ args0 -> args0 }).orElse(null),
            suffixMatch = javaType.suffixMatch().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy