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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.network.inputs.ApplicationGatewayAuthenticationCertificateArgs.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 data The contents of the Authentication Certificate which should be used.
 * @property id The ID of the Rewrite Rule Set
 * @property name The Name of the Authentication Certificate to use.
 */
public data class ApplicationGatewayAuthenticationCertificateArgs(
    public val `data`: Output,
    public val id: Output? = null,
    public val name: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.network.inputs.ApplicationGatewayAuthenticationCertificateArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayAuthenticationCertificateArgs.builder()
            .`data`(`data`.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationGatewayAuthenticationCertificateArgs].
 */
@PulumiTagMarker
public class ApplicationGatewayAuthenticationCertificateArgsBuilder internal constructor() {
    private var `data`: Output? = null

    private var id: Output? = null

    private var name: Output? = null

    /**
     * @param value The contents of the Authentication Certificate which should be used.
     */
    @JvmName("xfumevmrtsjywtfa")
    public suspend fun `data`(`value`: Output) {
        this.`data` = value
    }

    /**
     * @param value The ID of the Rewrite Rule Set
     */
    @JvmName("mggofcuskwxqrequ")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value The Name of the Authentication Certificate to use.
     */
    @JvmName("yyvgcpmhqijsfiew")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The contents of the Authentication Certificate which should be used.
     */
    @JvmName("kncdjpgxsrqrhgjg")
    public suspend fun `data`(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`data` = mapped
    }

    /**
     * @param value The ID of the Rewrite Rule Set
     */
    @JvmName("acooarkcfatfoejd")
    public suspend fun id(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.id = mapped
    }

    /**
     * @param value The Name of the Authentication Certificate to use.
     */
    @JvmName("raunfcoqysqyykqq")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): ApplicationGatewayAuthenticationCertificateArgs =
        ApplicationGatewayAuthenticationCertificateArgs(
            `data` = `data` ?: throw PulumiNullFieldException("data"),
            id = id,
            name = name ?: throw PulumiNullFieldException("name"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy