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

com.pulumi.cloudflare.kotlin.inputs.PageRuleActionsCacheKeyFieldsQueryStringArgs.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.inputs

import com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsQueryStringArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property excludes Exclude these query string parameters from Cache Key.
 * @property ignore `false` (default) - all query string parameters are used for Cache Key, unless explicitly excluded; `true` - all query string parameters are ignored; value should be `false` if any of `exclude` or `include` is non-empty.
 * @property includes Only use values of specified query string parameters in Cache Key.
 */
public data class PageRuleActionsCacheKeyFieldsQueryStringArgs(
    public val excludes: Output>? = null,
    public val ignore: Output? = null,
    public val includes: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsQueryStringArgs =
        com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsQueryStringArgs.builder()
            .excludes(excludes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .ignore(ignore?.applyValue({ args0 -> args0 }))
            .includes(includes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [PageRuleActionsCacheKeyFieldsQueryStringArgs].
 */
@PulumiTagMarker
public class PageRuleActionsCacheKeyFieldsQueryStringArgsBuilder internal constructor() {
    private var excludes: Output>? = null

    private var ignore: Output? = null

    private var includes: Output>? = null

    /**
     * @param value Exclude these query string parameters from Cache Key.
     */
    @JvmName("mhbildaydyctnasp")
    public suspend fun excludes(`value`: Output>) {
        this.excludes = value
    }

    @JvmName("yhykfbsfwijmndmc")
    public suspend fun excludes(vararg values: Output) {
        this.excludes = Output.all(values.asList())
    }

    /**
     * @param values Exclude these query string parameters from Cache Key.
     */
    @JvmName("pxmthpuadlsdifbu")
    public suspend fun excludes(values: List>) {
        this.excludes = Output.all(values)
    }

    /**
     * @param value `false` (default) - all query string parameters are used for Cache Key, unless explicitly excluded; `true` - all query string parameters are ignored; value should be `false` if any of `exclude` or `include` is non-empty.
     */
    @JvmName("gxypugmdscjoaxum")
    public suspend fun ignore(`value`: Output) {
        this.ignore = value
    }

    /**
     * @param value Only use values of specified query string parameters in Cache Key.
     */
    @JvmName("mbefuchwkcydxbqj")
    public suspend fun includes(`value`: Output>) {
        this.includes = value
    }

    @JvmName("hyyqwwbcyeblyiev")
    public suspend fun includes(vararg values: Output) {
        this.includes = Output.all(values.asList())
    }

    /**
     * @param values Only use values of specified query string parameters in Cache Key.
     */
    @JvmName("irirqcvqsaaalwve")
    public suspend fun includes(values: List>) {
        this.includes = Output.all(values)
    }

    /**
     * @param value Exclude these query string parameters from Cache Key.
     */
    @JvmName("jvywvtsulccnndkl")
    public suspend fun excludes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludes = mapped
    }

    /**
     * @param values Exclude these query string parameters from Cache Key.
     */
    @JvmName("nepdjjrtqmilfsww")
    public suspend fun excludes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.excludes = mapped
    }

    /**
     * @param value `false` (default) - all query string parameters are used for Cache Key, unless explicitly excluded; `true` - all query string parameters are ignored; value should be `false` if any of `exclude` or `include` is non-empty.
     */
    @JvmName("eadxqjjgudvivtqu")
    public suspend fun ignore(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.ignore = mapped
    }

    /**
     * @param value Only use values of specified query string parameters in Cache Key.
     */
    @JvmName("dgtyocxhkyudqjbe")
    public suspend fun includes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includes = mapped
    }

    /**
     * @param values Only use values of specified query string parameters in Cache Key.
     */
    @JvmName("bmspfslckglgfdpc")
    public suspend fun includes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includes = mapped
    }

    internal fun build(): PageRuleActionsCacheKeyFieldsQueryStringArgs =
        PageRuleActionsCacheKeyFieldsQueryStringArgs(
            excludes = excludes,
            ignore = ignore,
            includes = includes,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy