com.pulumi.gcp.networkservices.kotlin.outputs.GrpcRouteRuleMatchHeader.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.networkservices.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property key Required. The key of the header.
* @property type The type of match.
* Default value is `EXACT`.
* Possible values are: `TYPE_UNSPECIFIED`, `EXACT`, `REGULAR_EXPRESSION`.
* @property value Required. The value of the header.
*/
public data class GrpcRouteRuleMatchHeader(
public val key: String,
public val type: String? = null,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.GrpcRouteRuleMatchHeader): GrpcRouteRuleMatchHeader = GrpcRouteRuleMatchHeader(
key = javaType.key(),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
`value` = javaType.`value`(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy