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

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

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

/**
 *
 * @property checkPresences Check for presence of specified cookies, without including their actual values.
 * @property includes Use values of specified cookies in Cache Key.
 */
public data class PageRuleActionsCacheKeyFieldsCookieArgs(
    public val checkPresences: Output>? = null,
    public val includes: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsCookieArgs =
        com.pulumi.cloudflare.inputs.PageRuleActionsCacheKeyFieldsCookieArgs.builder()
            .checkPresences(checkPresences?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .includes(includes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var includes: Output>? = null

    /**
     * @param value Check for presence of specified cookies, without including their actual values.
     */
    @JvmName("pbxgoibuwiqespbu")
    public suspend fun checkPresences(`value`: Output>) {
        this.checkPresences = value
    }

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

    /**
     * @param values Check for presence of specified cookies, without including their actual values.
     */
    @JvmName("fpifhhcquebgukds")
    public suspend fun checkPresences(values: List>) {
        this.checkPresences = Output.all(values)
    }

    /**
     * @param value Use values of specified cookies in Cache Key.
     */
    @JvmName("nghcbckmeqcrhrvr")
    public suspend fun includes(`value`: Output>) {
        this.includes = value
    }

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

    /**
     * @param values Use values of specified cookies in Cache Key.
     */
    @JvmName("gjintbykqvvtsnyb")
    public suspend fun includes(values: List>) {
        this.includes = Output.all(values)
    }

    /**
     * @param value Check for presence of specified cookies, without including their actual values.
     */
    @JvmName("entnusyrslreunkc")
    public suspend fun checkPresences(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.checkPresences = mapped
    }

    /**
     * @param values Check for presence of specified cookies, without including their actual values.
     */
    @JvmName("ddoxyivrceprkjkf")
    public suspend fun checkPresences(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.checkPresences = mapped
    }

    /**
     * @param value Use values of specified cookies in Cache Key.
     */
    @JvmName("hrftosnogwdrhify")
    public suspend fun includes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.includes = mapped
    }

    /**
     * @param values Use values of specified cookies in Cache Key.
     */
    @JvmName("uijhutqrjfdjxbgr")
    public suspend fun includes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.includes = mapped
    }

    internal fun build(): PageRuleActionsCacheKeyFieldsCookieArgs =
        PageRuleActionsCacheKeyFieldsCookieArgs(
            checkPresences = checkPresences,
            includes = includes,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy