com.pulumi.azure.cdn.kotlin.inputs.FrontdoorRuleConditionsIsDeviceConditionArgs.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.FrontdoorRuleConditionsIsDeviceConditionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property matchValues Which device should this rule match on? Possible values `Mobile` or `Desktop`.
* @property negateCondition If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
* @property operator Possible value `Equal`. Defaults to `Equal`.
*/
public data class FrontdoorRuleConditionsIsDeviceConditionArgs(
public val matchValues: Output? = null,
public val negateCondition: Output? = null,
public val `operator`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsIsDeviceConditionArgs =
com.pulumi.azure.cdn.inputs.FrontdoorRuleConditionsIsDeviceConditionArgs.builder()
.matchValues(matchValues?.applyValue({ args0 -> args0 }))
.negateCondition(negateCondition?.applyValue({ args0 -> args0 }))
.`operator`(`operator`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FrontdoorRuleConditionsIsDeviceConditionArgs].
*/
@PulumiTagMarker
public class FrontdoorRuleConditionsIsDeviceConditionArgsBuilder internal constructor() {
private var matchValues: Output? = null
private var negateCondition: Output? = null
private var `operator`: Output? = null
/**
* @param value Which device should this rule match on? Possible values `Mobile` or `Desktop`.
*/
@JvmName("bpwgclgexyfichwl")
public suspend fun matchValues(`value`: Output) {
this.matchValues = value
}
/**
* @param value If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
*/
@JvmName("eytowtxtqcqwlewm")
public suspend fun negateCondition(`value`: Output) {
this.negateCondition = value
}
/**
* @param value Possible value `Equal`. Defaults to `Equal`.
*/
@JvmName("huprgwcsrkjdnucs")
public suspend fun `operator`(`value`: Output) {
this.`operator` = value
}
/**
* @param value Which device should this rule match on? Possible values `Mobile` or `Desktop`.
*/
@JvmName("hlidggmatscqgdam")
public suspend fun matchValues(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.matchValues = mapped
}
/**
* @param value If `true` operator becomes the opposite of its value. Possible values `true` or `false`. Defaults to `false`. Details can be found in the `Condition Operator List` below.
*/
@JvmName("xkdxpmnqvbvbpyby")
public suspend fun negateCondition(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.negateCondition = mapped
}
/**
* @param value Possible value `Equal`. Defaults to `Equal`.
*/
@JvmName("sepueppqgbsaotgf")
public suspend fun `operator`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`operator` = mapped
}
internal fun build(): FrontdoorRuleConditionsIsDeviceConditionArgs =
FrontdoorRuleConditionsIsDeviceConditionArgs(
matchValues = matchValues,
negateCondition = negateCondition,
`operator` = `operator`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy