
com.pulumi.azure.cdn.kotlin.inputs.EndpointDeliveryRuleCacheKeyQueryStringActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.cdn.kotlin.inputs
import com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleCacheKeyQueryStringActionArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property behavior The behavior of the cache key for query strings. Valid values are `Exclude`, `ExcludeAll`, `Include` and `IncludeAll`.
* @property parameters Comma separated list of parameter values.
*/
public data class EndpointDeliveryRuleCacheKeyQueryStringActionArgs(
public val behavior: Output,
public val parameters: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleCacheKeyQueryStringActionArgs =
com.pulumi.azure.cdn.inputs.EndpointDeliveryRuleCacheKeyQueryStringActionArgs.builder()
.behavior(behavior.applyValue({ args0 -> args0 }))
.parameters(parameters?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointDeliveryRuleCacheKeyQueryStringActionArgs].
*/
@PulumiTagMarker
public class EndpointDeliveryRuleCacheKeyQueryStringActionArgsBuilder internal constructor() {
private var behavior: Output? = null
private var parameters: Output? = null
/**
* @param value The behavior of the cache key for query strings. Valid values are `Exclude`, `ExcludeAll`, `Include` and `IncludeAll`.
*/
@JvmName("fcrjpkhpqyirvjrp")
public suspend fun behavior(`value`: Output) {
this.behavior = value
}
/**
* @param value Comma separated list of parameter values.
*/
@JvmName("mxscphoxsrohskbb")
public suspend fun parameters(`value`: Output) {
this.parameters = value
}
/**
* @param value The behavior of the cache key for query strings. Valid values are `Exclude`, `ExcludeAll`, `Include` and `IncludeAll`.
*/
@JvmName("kxvljmolrqxjoisc")
public suspend fun behavior(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.behavior = mapped
}
/**
* @param value Comma separated list of parameter values.
*/
@JvmName("kbcrfgcmntqoepfu")
public suspend fun parameters(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parameters = mapped
}
internal fun build(): EndpointDeliveryRuleCacheKeyQueryStringActionArgs =
EndpointDeliveryRuleCacheKeyQueryStringActionArgs(
behavior = behavior ?: throw PulumiNullFieldException("behavior"),
parameters = parameters,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy