com.pulumi.cloudflare.kotlin.inputs.RulesetRuleActionParametersUriPathArgs.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.RulesetRuleActionParametersUriPathArgs.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 RulesetRuleActionParametersUriPathArgs(
public val expression: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.RulesetRuleActionParametersUriPathArgs =
com.pulumi.cloudflare.inputs.RulesetRuleActionParametersUriPathArgs.builder()
.expression(expression?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RulesetRuleActionParametersUriPathArgs].
*/
@PulumiTagMarker
public class RulesetRuleActionParametersUriPathArgsBuilder 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("euvxhvryyrsmhyqn")
public suspend fun expression(`value`: Output) {
this.expression = value
}
/**
* @param value Static string value of the updated URI path or query string component.
*/
@JvmName("kboamvvsegwlktbc")
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("qovkmoflpinojfrw")
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("huyvaybaiiwcwqwd")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): RulesetRuleActionParametersUriPathArgs =
RulesetRuleActionParametersUriPathArgs(
expression = expression,
`value` = `value`,
)
}