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

com.pulumi.azure.network.kotlin.inputs.ApplicationGatewayTrustedClientCertificateArgs.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.ApplicationGatewayTrustedClientCertificateArgs.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 base-64 encoded certificate.
 * @property id The ID of the Rewrite Rule Set
 * @property name The name of the Trusted Client Certificate that is unique within this Application Gateway.
 */
public data class ApplicationGatewayTrustedClientCertificateArgs(
    public val `data`: Output,
    public val id: Output? = null,
    public val name: Output,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.network.inputs.ApplicationGatewayTrustedClientCertificateArgs =
        com.pulumi.azure.network.inputs.ApplicationGatewayTrustedClientCertificateArgs.builder()
            .`data`(`data`.applyValue({ args0 -> args0 }))
            .id(id?.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

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

    private var id: Output? = null

    private var name: Output? = null

    /**
     * @param value The base-64 encoded certificate.
     */
    @JvmName("bfajlayfsodoftlv")
    public suspend fun `data`(`value`: Output) {
        this.`data` = value
    }

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

    /**
     * @param value The name of the Trusted Client Certificate that is unique within this Application Gateway.
     */
    @JvmName("qilmwwycpkjlndbm")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The base-64 encoded certificate.
     */
    @JvmName("qmvyfkdnbytnndum")
    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("ufbcpcydsufemfll")
    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 Trusted Client Certificate that is unique within this Application Gateway.
     */
    @JvmName("kyuvbhujtwbudjdo")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy