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

com.pulumi.gcp.compute.kotlin.inputs.BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs.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.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
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 BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs(
    public val headerName: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.compute.inputs.BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs =
        com.pulumi.gcp.compute.inputs.BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs.builder()
            .headerName(headerName?.applyValue({ args0 -> args0 })).build()
}

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

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

    internal fun build(): BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs =
        BackendBucketCdnPolicyBypassCacheOnRequestHeaderArgs(
            headerName = headerName,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy