
com.pulumi.azure.apimanagement.kotlin.inputs.ApiDiagnosticFrontendRequestDataMaskingHeaderArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendRequestDataMaskingHeaderArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property mode The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
* @property value The name of the header or the query parameter to mask.
*/
public data class ApiDiagnosticFrontendRequestDataMaskingHeaderArgs(
public val mode: Output,
public val `value`: Output,
) :
ConvertibleToJava {
override fun toJava():
com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendRequestDataMaskingHeaderArgs =
com.pulumi.azure.apimanagement.inputs.ApiDiagnosticFrontendRequestDataMaskingHeaderArgs.builder()
.mode(mode.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApiDiagnosticFrontendRequestDataMaskingHeaderArgs].
*/
@PulumiTagMarker
public class ApiDiagnosticFrontendRequestDataMaskingHeaderArgsBuilder internal constructor() {
private var mode: Output? = null
private var `value`: Output? = null
/**
* @param value The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
*/
@JvmName("ndprpwkadrehphsq")
public suspend fun mode(`value`: Output) {
this.mode = value
}
/**
* @param value The name of the header or the query parameter to mask.
*/
@JvmName("sbiqxablaibslwjo")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The data masking mode. Possible values are `Mask` and `Hide` for `query_params`. The only possible value is `Mask` for `headers`.
*/
@JvmName("yaokntignumxsqyr")
public suspend fun mode(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.mode = mapped
}
/**
* @param value The name of the header or the query parameter to mask.
*/
@JvmName("vmkqjsbmeenymwga")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ApiDiagnosticFrontendRequestDataMaskingHeaderArgs =
ApiDiagnosticFrontendRequestDataMaskingHeaderArgs(
mode = mode ?: throw PulumiNullFieldException("mode"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy