All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayGlobalArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.network.kotlin.inputs

import com.pulumi.azure.network.inputs.ApplicationGatewayGlobalArgs.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.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property requestBufferingEnabled Whether Application Gateway's Request buffer is enabled.
 * @property responseBufferingEnabled Whether Application Gateway's Response buffer is enabled.
 */
public data class ApplicationGatewayGlobalArgs(
    public val requestBufferingEnabled: Output,
    public val responseBufferingEnabled: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.ApplicationGatewayGlobalArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayGlobalArgs.builder()
            .requestBufferingEnabled(requestBufferingEnabled.applyValue({ args0 -> args0 }))
            .responseBufferingEnabled(responseBufferingEnabled.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationGatewayGlobalArgs].
 */
@PulumiTagMarker
public class ApplicationGatewayGlobalArgsBuilder internal constructor() {
    private var requestBufferingEnabled: Output? = null

    private var responseBufferingEnabled: Output? = null

    /**
     * @param value Whether Application Gateway's Request buffer is enabled.
     */
    @JvmName("wqwldjvrrmyggpgv")
    public suspend fun requestBufferingEnabled(`value`: Output) {
        this.requestBufferingEnabled = value
    }

    /**
     * @param value Whether Application Gateway's Response buffer is enabled.
     */
    @JvmName("eawxirqbnsltwhdg")
    public suspend fun responseBufferingEnabled(`value`: Output) {
        this.responseBufferingEnabled = value
    }

    /**
     * @param value Whether Application Gateway's Request buffer is enabled.
     */
    @JvmName("rroppxlvqatebdpv")
    public suspend fun requestBufferingEnabled(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.requestBufferingEnabled = mapped
    }

    /**
     * @param value Whether Application Gateway's Response buffer is enabled.
     */
    @JvmName("oftsrajsryvcqctp")
    public suspend fun responseBufferingEnabled(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.responseBufferingEnabled = mapped
    }

    internal fun build(): ApplicationGatewayGlobalArgs = ApplicationGatewayGlobalArgs(
        requestBufferingEnabled = requestBufferingEnabled ?: throw
            PulumiNullFieldException("requestBufferingEnabled"),
        responseBufferingEnabled = responseBufferingEnabled ?: throw
            PulumiNullFieldException("responseBufferingEnabled"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy