com.pulumi.cloudflare.kotlin.inputs.RulesetRuleActionParametersUriQueryArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.RulesetRuleActionParametersUriQueryArgs.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.jvm.JvmName
/**
*
* @property expression Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
* @property value Static string value of the updated URI path or query string component.
*/
public data class RulesetRuleActionParametersUriQueryArgs(
public val expression: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.RulesetRuleActionParametersUriQueryArgs =
com.pulumi.cloudflare.inputs.RulesetRuleActionParametersUriQueryArgs.builder()
.expression(expression?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RulesetRuleActionParametersUriQueryArgs].
*/
@PulumiTagMarker
public class RulesetRuleActionParametersUriQueryArgsBuilder internal constructor() {
private var expression: Output? = null
private var `value`: Output? = null
/**
* @param value Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
*/
@JvmName("hijxnbargwdbifwm")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value Static string value of the updated URI path or query string component.
*/
@JvmName("npwkvodcjusgeatr")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Expression that defines the updated (dynamic) value of the URI path or query string component. Uses the Firewall Rules expression language based on Wireshark display filters. Refer to the [Firewall Rules language](https://developers.cloudflare.com/firewall/cf-firewall-language) documentation for all available fields, operators, and functions.
*/
@JvmName("hdtwghjfnhqtfehq")
public suspend fun expression(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.expression = mapped
}
/**
* @param value Static string value of the updated URI path or query string component.
*/
@JvmName("pvvekkvijfiehwyk")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): RulesetRuleActionParametersUriQueryArgs =
RulesetRuleActionParametersUriQueryArgs(
expression = expression,
`value` = `value`,
)
}