com.pulumi.azure.cdn.kotlin.inputs.EndpointDeliveryRuleCookiesConditionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleCookiesConditionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property matchValues List of values for the cookie. This is required if `operator` is not `Any`.
* @property negateCondition Defaults to `false`.
* @property operator Valid values are `Any`, `BeginsWith`, `Contains`, `EndsWith`, `Equal`, `GreaterThan`, `GreaterThanOrEqual`, `LessThan` and `LessThanOrEqual`.
* @property selector Name of the cookie.
* @property transforms A list of transforms. Valid values are `Lowercase` and `Uppercase`.
*/
public data class EndpointDeliveryRuleCookiesConditionArgs(
public val matchValues: Output>? = null,
public val negateCondition: Output? = null,
public val `operator`: Output,
public val selector: Output,
public val transforms: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleCookiesConditionArgs =
com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleCookiesConditionArgs.builder()
.matchValues(matchValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
.`operator`(`operator`.applyValue({ args0 -> args0 }))
.selector(selector.applyValue({ args0 -> args0 }))
.transforms(transforms?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [EndpointDeliveryRuleCookiesConditionArgs].
*/
@PulumiTagMarker
public class EndpointDeliveryRuleCookiesConditionArgsBuilder internal constructor() {
private var matchValues: Output>? = null
private var negateCondition: Output? = null
private var `operator`: Output? = null
private var selector: Output? = null
private var transforms: Output>? = null
/**
* @param value List of values for the cookie. This is required if `operator` is not `Any`.
*/
@JvmName("sheurhgivugrbnsv")
public suspend fun matchValues(`value`: Output>) {
this.matchValues = value
}
@JvmName("epeghqyekgtvbaxv")
public suspend fun matchValues(vararg values: Output) {
this.matchValues = Output.all(values.asList())
}
/**
* @param values List of values for the cookie. This is required if `operator` is not `Any`.
*/
@JvmName("idqvbukpfgtjieyh")
public suspend fun matchValues(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy