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

com.pulumi.gcp.networkservices.kotlin.outputs.GrpcRouteRuleMatchHeader.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: 8.10.0.0
Show newest version
@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