com.pulumi.gcp.compute.kotlin.inputs.BackendBucketCdnPolicyCacheKeyPolicyArgs.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.compute.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.compute.inputs.BackendBucketCdnPolicyCacheKeyPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property includeHttpHeaders Allows HTTP request headers (by name) to be used in the
* cache key.
* @property queryStringWhitelists Names of query string parameters to include in cache keys.
* Default parameters are always included. '&' and '=' will
* be percent encoded and not treated as delimiters.
*/
public data class BackendBucketCdnPolicyCacheKeyPolicyArgs(
public val includeHttpHeaders: Output>? = null,
public val queryStringWhitelists: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.compute.inputs.BackendBucketCdnPolicyCacheKeyPolicyArgs =
com.pulumi.gcp.compute.inputs.BackendBucketCdnPolicyCacheKeyPolicyArgs.builder()
.includeHttpHeaders(includeHttpHeaders?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.queryStringWhitelists(
queryStringWhitelists?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [BackendBucketCdnPolicyCacheKeyPolicyArgs].
*/
@PulumiTagMarker
public class BackendBucketCdnPolicyCacheKeyPolicyArgsBuilder internal constructor() {
private var includeHttpHeaders: Output>? = null
private var queryStringWhitelists: Output>? = null
/**
* @param value Allows HTTP request headers (by name) to be used in the
* cache key.
*/
@JvmName("uoggcxobyisrxtgp")
public suspend fun includeHttpHeaders(`value`: Output>) {
this.includeHttpHeaders = value
}
@JvmName("oejqupyfyexetcgp")
public suspend fun includeHttpHeaders(vararg values: Output) {
this.includeHttpHeaders = Output.all(values.asList())
}
/**
* @param values Allows HTTP request headers (by name) to be used in the
* cache key.
*/
@JvmName("jxxtcimniraqbfck")
public suspend fun includeHttpHeaders(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy