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

com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKey.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: 5.47.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property cacheByDeviceType Cache by device type.
 * @property cacheDeceptionArmor Cache deception armor.
 * @property customKey Custom key parameters for the request.
 * @property ignoreQueryStringsOrder Ignore query strings order.
 */
public data class RulesetRuleActionParametersCacheKey(
    public val cacheByDeviceType: Boolean? = null,
    public val cacheDeceptionArmor: Boolean? = null,
    public val customKey: RulesetRuleActionParametersCacheKeyCustomKey? = null,
    public val ignoreQueryStringsOrder: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RulesetRuleActionParametersCacheKey): RulesetRuleActionParametersCacheKey = RulesetRuleActionParametersCacheKey(
            cacheByDeviceType = javaType.cacheByDeviceType().map({ args0 -> args0 }).orElse(null),
            cacheDeceptionArmor = javaType.cacheDeceptionArmor().map({ args0 -> args0 }).orElse(null),
            customKey = javaType.customKey().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKey.Companion.toKotlin(args0)
                })
            }).orElse(null),
            ignoreQueryStringsOrder = javaType.ignoreQueryStringsOrder().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy