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

com.pulumi.gcp.compute.kotlin.inputs.BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs.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.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.compute.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property headerName The header field name to match on when bypassing cache. Values are case-insensitive.
 */
public data class BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs(
    public val headerName: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs =
        com.pulumi.gcp.compute.inputs.BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs.builder()
            .headerName(headerName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs].
 */
@PulumiTagMarker
public class BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgsBuilder internal constructor() {
    private var headerName: Output? = null

    /**
     * @param value The header field name to match on when bypassing cache. Values are case-insensitive.
     */
    @JvmName("fmwosfeklxddjtfg")
    public suspend fun headerName(`value`: Output) {
        this.headerName = value
    }

    /**
     * @param value The header field name to match on when bypassing cache. Values are case-insensitive.
     */
    @JvmName("pryousbjhkadyrqu")
    public suspend fun headerName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.headerName = mapped
    }

    internal fun build(): BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs =
        BackendServiceCdnPolicyBypassCacheOnRequestHeaderArgs(
            headerName = headerName ?: throw PulumiNullFieldException("headerName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy