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

com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFields.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 Controls what cookies go into Cache Key:
 * @property header Controls what HTTP headers go into Cache Key:
 * @property host Controls which Host header goes into Cache Key:
 * @property queryString Controls which URL query string parameters go into the Cache Key.
 * @property user Controls which end user-related features go into the Cache Key.
 */
public data class PageRuleActionsCacheKeyFields(
    public val cookie: PageRuleActionsCacheKeyFieldsCookie? = null,
    public val `header`: PageRuleActionsCacheKeyFieldsHeader? = null,
    public val host: PageRuleActionsCacheKeyFieldsHost,
    public val queryString: PageRuleActionsCacheKeyFieldsQueryString,
    public val user: PageRuleActionsCacheKeyFieldsUser,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.PageRuleActionsCacheKeyFields): PageRuleActionsCacheKeyFields = PageRuleActionsCacheKeyFields(
            cookie = javaType.cookie().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFieldsCookie.Companion.toKotlin(args0)
                })
            }).orElse(null),
            `header` = javaType.`header`().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFieldsHeader.Companion.toKotlin(args0)
                })
            }).orElse(null),
            host = javaType.host().let({ args0 ->
                com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFieldsHost.Companion.toKotlin(args0)
            }),
            queryString = javaType.queryString().let({ args0 ->
                com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFieldsQueryString.Companion.toKotlin(args0)
            }),
            user = javaType.user().let({ args0 ->
                com.pulumi.cloudflare.kotlin.outputs.PageRuleActionsCacheKeyFieldsUser.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy