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

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

/**
 *
 * @property cookie Cookie parameters for the custom key.
 * @property header Header parameters for the custom key.
 * @property host Host parameters for the custom key.
 * @property queryString Query string parameters for the custom key.
 * @property user User parameters for the custom key.
 */
public data class RulesetRuleActionParametersCacheKeyCustomKey(
    public val cookie: RulesetRuleActionParametersCacheKeyCustomKeyCookie? = null,
    public val `header`: RulesetRuleActionParametersCacheKeyCustomKeyHeader? = null,
    public val host: RulesetRuleActionParametersCacheKeyCustomKeyHost? = null,
    public val queryString: RulesetRuleActionParametersCacheKeyCustomKeyQueryString? = null,
    public val user: RulesetRuleActionParametersCacheKeyCustomKeyUser? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.RulesetRuleActionParametersCacheKeyCustomKey): RulesetRuleActionParametersCacheKeyCustomKey = RulesetRuleActionParametersCacheKeyCustomKey(
            cookie = javaType.cookie().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyCookie.Companion.toKotlin(args0)
                })
            }).orElse(null),
            `header` = javaType.`header`().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyHeader.Companion.toKotlin(args0)
                })
            }).orElse(null),
            host = javaType.host().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyHost.Companion.toKotlin(args0)
                })
            }).orElse(null),
            queryString = javaType.queryString().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyQueryString.Companion.toKotlin(args0)
                })
            }).orElse(null),
            user = javaType.user().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.RulesetRuleActionParametersCacheKeyCustomKeyUser.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy