com.pulumi.azure.waf.kotlin.inputs.PolicyPolicySettingsLogScrubbingRuleArgs.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.waf.kotlin.inputs
import com.pulumi.azure.waf.inputs.PolicyPolicySettingsLogScrubbingRuleArgs.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.jvm.JvmName
/**
*
* @property enabled Describes if the managed rule is in enabled state or disabled state.
* @property matchVariable
* @property selector When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
* @property selectorMatchOperator
*/
public data class PolicyPolicySettingsLogScrubbingRuleArgs(
public val enabled: Output? = null,
public val matchVariable: Output,
public val selector: Output? = null,
public val selectorMatchOperator: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.waf.inputs.PolicyPolicySettingsLogScrubbingRuleArgs =
com.pulumi.azure.waf.inputs.PolicyPolicySettingsLogScrubbingRuleArgs.builder()
.enabled(enabled?.applyValue({ args0 -> args0 }))
.matchVariable(matchVariable.applyValue({ args0 -> args0 }))
.selector(selector?.applyValue({ args0 -> args0 }))
.selectorMatchOperator(selectorMatchOperator?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PolicyPolicySettingsLogScrubbingRuleArgs].
*/
@PulumiTagMarker
public class PolicyPolicySettingsLogScrubbingRuleArgsBuilder internal constructor() {
private var enabled: Output? = null
private var matchVariable: Output? = null
private var selector: Output? = null
private var selectorMatchOperator: Output? = null
/**
* @param value Describes if the managed rule is in enabled state or disabled state.
*/
@JvmName("scoryhmhvutdgckr")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value
*/
@JvmName("jtsbklxeckbbchoe")
public suspend fun matchVariable(`value`: Output) {
this.matchVariable = value
}
/**
* @param value When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
*/
@JvmName("iokhyfssutlccbcp")
public suspend fun selector(`value`: Output) {
this.selector = value
}
/**
* @param value
*/
@JvmName("kimtivlpgybcifrq")
public suspend fun selectorMatchOperator(`value`: Output) {
this.selectorMatchOperator = value
}
/**
* @param value Describes if the managed rule is in enabled state or disabled state.
*/
@JvmName("ktrehafuxqbhgpvi")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value
*/
@JvmName("lmaeaxscxvudmkew")
public suspend fun matchVariable(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.matchVariable = mapped
}
/**
* @param value When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
*/
@JvmName("uaqukncoecuebche")
public suspend fun selector(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selector = mapped
}
/**
* @param value
*/
@JvmName("pqybbpjclbgiiary")
public suspend fun selectorMatchOperator(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.selectorMatchOperator = mapped
}
internal fun build(): PolicyPolicySettingsLogScrubbingRuleArgs =
PolicyPolicySettingsLogScrubbingRuleArgs(
enabled = enabled,
matchVariable = matchVariable ?: throw PulumiNullFieldException("matchVariable"),
selector = selector,
selectorMatchOperator = selectorMatchOperator,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy