com.pulumi.cloudflare.kotlin.inputs.RulesetRuleActionParametersCacheKeyCustomKeyUserArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.cloudflare.kotlin.inputs
import com.pulumi.cloudflare.inputs.RulesetRuleActionParametersCacheKeyCustomKeyUserArgs.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.Suppress
import kotlin.jvm.JvmName
/**
*
* @property deviceType Add device type to the custom key.
* @property geo Add geo data to the custom key.
* @property lang Add language data to the custom key.
*/
public data class RulesetRuleActionParametersCacheKeyCustomKeyUserArgs(
public val deviceType: Output? = null,
public val geo: Output? = null,
public val lang: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.cloudflare.inputs.RulesetRuleActionParametersCacheKeyCustomKeyUserArgs =
com.pulumi.cloudflare.inputs.RulesetRuleActionParametersCacheKeyCustomKeyUserArgs.builder()
.deviceType(deviceType?.applyValue({ args0 -> args0 }))
.geo(geo?.applyValue({ args0 -> args0 }))
.lang(lang?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RulesetRuleActionParametersCacheKeyCustomKeyUserArgs].
*/
@PulumiTagMarker
public class RulesetRuleActionParametersCacheKeyCustomKeyUserArgsBuilder internal constructor() {
private var deviceType: Output? = null
private var geo: Output? = null
private var lang: Output? = null
/**
* @param value Add device type to the custom key.
*/
@JvmName("wbcjfcdrilneaoxd")
public suspend fun deviceType(`value`: Output) {
this.deviceType = value
}
/**
* @param value Add geo data to the custom key.
*/
@JvmName("wtwctqmulsfygumn")
public suspend fun geo(`value`: Output) {
this.geo = value
}
/**
* @param value Add language data to the custom key.
*/
@JvmName("fsfuqhagvrkccndo")
public suspend fun lang(`value`: Output) {
this.lang = value
}
/**
* @param value Add device type to the custom key.
*/
@JvmName("fvypynrnjbrtsmuy")
public suspend fun deviceType(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.deviceType = mapped
}
/**
* @param value Add geo data to the custom key.
*/
@JvmName("cvlwxssnsfoqbkyi")
public suspend fun geo(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.geo = mapped
}
/**
* @param value Add language data to the custom key.
*/
@JvmName("hedblflrhbochorf")
public suspend fun lang(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lang = mapped
}
internal fun build(): RulesetRuleActionParametersCacheKeyCustomKeyUserArgs =
RulesetRuleActionParametersCacheKeyCustomKeyUserArgs(
deviceType = deviceType,
geo = geo,
lang = lang,
)
}