com.pulumi.azure.apimanagement.kotlin.inputs.DiagnosticFrontendResponseArgs.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.apimanagement.kotlin.inputs
import com.pulumi.azure.apimanagement.inputs.DiagnosticFrontendResponseArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property bodyBytes Number of payload bytes to log (up to 8192).
* @property dataMasking A `data_masking` block as defined below.
* @property headersToLogs Specifies a list of headers to log.
*/
public data class DiagnosticFrontendResponseArgs(
public val bodyBytes: Output? = null,
public val dataMasking: Output? = null,
public val headersToLogs: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.apimanagement.inputs.DiagnosticFrontendResponseArgs =
com.pulumi.azure.apimanagement.inputs.DiagnosticFrontendResponseArgs.builder()
.bodyBytes(bodyBytes?.applyValue({ args0 -> args0 }))
.dataMasking(dataMasking?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.headersToLogs(headersToLogs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}
/**
* Builder for [DiagnosticFrontendResponseArgs].
*/
@PulumiTagMarker
public class DiagnosticFrontendResponseArgsBuilder internal constructor() {
private var bodyBytes: Output? = null
private var dataMasking: Output? = null
private var headersToLogs: Output>? = null
/**
* @param value Number of payload bytes to log (up to 8192).
*/
@JvmName("tacighjaqwbxmdab")
public suspend fun bodyBytes(`value`: Output) {
this.bodyBytes = value
}
/**
* @param value A `data_masking` block as defined below.
*/
@JvmName("acxrmatqflfwvdsi")
public suspend fun dataMasking(`value`: Output) {
this.dataMasking = value
}
/**
* @param value Specifies a list of headers to log.
*/
@JvmName("xgfxcvhnfrwmsmql")
public suspend fun headersToLogs(`value`: Output>) {
this.headersToLogs = value
}
@JvmName("uwhaovrcpajtqbmx")
public suspend fun headersToLogs(vararg values: Output) {
this.headersToLogs = Output.all(values.asList())
}
/**
* @param values Specifies a list of headers to log.
*/
@JvmName("jvmhebwjquaqrtal")
public suspend fun headersToLogs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy