com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyHeader.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property checkPresences List of headers to check for presence in the custom key.
* @property contains Dictionary of headers mapping to lists of values to check for presence in the custom key.
* @property excludeOrigin Exclude the origin header from the custom key.
* @property includes List of headers to include in the custom key.
*/
public data class RulesetRuleActionParametersCacheKeyCustomKeyHeader(
public val checkPresences: List? = null,
public val contains: Map>? = null,
public val excludeOrigin: Boolean? = null,
public val includes: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RulesetRuleActionParametersCacheKeyCustomKeyHeader): RulesetRuleActionParametersCacheKeyCustomKeyHeader =
RulesetRuleActionParametersCacheKeyCustomKeyHeader(
checkPresences = javaType.checkPresences().map({ args0 -> args0 }),
contains = javaType.contains().map({ args0 ->
args0.key.to(
args0.value.map({ args0 ->
args0
}),
)
}).toMap(),
excludeOrigin = javaType.excludeOrigin().map({ args0 -> args0 }).orElse(null),
includes = javaType.includes().map({ args0 -> args0 }),
)
}
}