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

com.pulumi.cloudflare.kotlin.outputs.GetRulesetsRulesetRuleActionParametersCacheKey.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.

The 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. Conflicts with "custom_key.user.device_type".
 * @property cacheDeceptionArmor Cache deception armor.
 * @property customKey Custom key parameters for the request.
 * @property ignoreQueryStringsOrder Ignore query strings order.
 */
public data class GetRulesetsRulesetRuleActionParametersCacheKey(
    public val cacheByDeviceType: Boolean? = null,
    public val cacheDeceptionArmor: Boolean? = null,
    public val customKey: GetRulesetsRulesetRuleActionParametersCacheKeyCustomKey? = null,
    public val ignoreQueryStringsOrder: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.GetRulesetsRulesetRuleActionParametersCacheKey): GetRulesetsRulesetRuleActionParametersCacheKey =
            GetRulesetsRulesetRuleActionParametersCacheKey(
                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.GetRulesetsRulesetRuleActionParametersCacheKeyCustomKey.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                ignoreQueryStringsOrder = javaType.ignoreQueryStringsOrder().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy