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

com.pulumi.gcp.compute.kotlin.outputs.URLMapPathMatcherRouteRuleHeaderActionRequestHeadersToAdd.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.compute.kotlin.outputs

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

/**
 *
 * @property headerName The name of the header to add.
 * @property headerValue The value of the header to add.
 * @property replace If false, headerValue is appended to any values that already exist for the header.
 * If true, headerValue is set for the header, discarding any values that were set for that header.
 */
public data class URLMapPathMatcherRouteRuleHeaderActionRequestHeadersToAdd(
    public val headerName: String,
    public val headerValue: String,
    public val replace: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.compute.outputs.URLMapPathMatcherRouteRuleHeaderActionRequestHeadersToAdd): URLMapPathMatcherRouteRuleHeaderActionRequestHeadersToAdd =
            URLMapPathMatcherRouteRuleHeaderActionRequestHeadersToAdd(
                headerName = javaType.headerName(),
                headerValue = javaType.headerValue(),
                replace = javaType.replace(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy