
com.pulumi.azurenative.apimanagement.kotlin.inputs.DataMaskingEntityArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.apimanagement.kotlin.inputs
import com.pulumi.azurenative.apimanagement.inputs.DataMaskingEntityArgs.builder
import com.pulumi.azurenative.apimanagement.kotlin.enums.DataMaskingMode
import com.pulumi.core.Either
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 mode Data masking mode.
* @property value The name of an entity to mask (e.g. a name of a header or a query parameter).
*/
public data class DataMaskingEntityArgs(
public val mode: Output>? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.apimanagement.inputs.DataMaskingEntityArgs =
com.pulumi.azurenative.apimanagement.inputs.DataMaskingEntityArgs.builder()
.mode(
mode?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataMaskingEntityArgs].
*/
@PulumiTagMarker
public class DataMaskingEntityArgsBuilder internal constructor() {
private var mode: Output>? = null
private var `value`: Output? = null
/**
* @param value Data masking mode.
*/
@JvmName("gekjwqpbonetyqqk")
public suspend fun mode(`value`: Output>) {
this.mode = value
}
/**
* @param value The name of an entity to mask (e.g. a name of a header or a query parameter).
*/
@JvmName("ccefetbrhyrkpvhw")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Data masking mode.
*/
@JvmName("dnlybilovmekdeya")
public suspend fun mode(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value Data masking mode.
*/
@JvmName("ggqiisgtydhxbwxl")
public fun mode(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value Data masking mode.
*/
@JvmName("ckljvpkyhdtcfppw")
public fun mode(`value`: DataMaskingMode) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value The name of an entity to mask (e.g. a name of a header or a query parameter).
*/
@JvmName("blathncuqkgmrbux")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): DataMaskingEntityArgs = DataMaskingEntityArgs(
mode = mode,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy