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

com.pulumi.azure.network.kotlin.inputs.VpnServerConfigurationClientRootCertificateArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.network.inputs.VpnServerConfigurationClientRootCertificateArgs.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 name A name used to uniquely identify this certificate.
 * @property publicCertData The Public Key Data associated with the Certificate.
 */
public data class VpnServerConfigurationClientRootCertificateArgs(
    public val name: Output,
    public val publicCertData: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.VpnServerConfigurationClientRootCertificateArgs =
        com.pulumi.azure.network.inputs.VpnServerConfigurationClientRootCertificateArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .publicCertData(publicCertData.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VpnServerConfigurationClientRootCertificateArgs].
 */
@PulumiTagMarker
public class VpnServerConfigurationClientRootCertificateArgsBuilder internal constructor() {
    private var name: Output? = null

    private var publicCertData: Output? = null

    /**
     * @param value A name used to uniquely identify this certificate.
     */
    @JvmName("bqknksnrfrauxlys")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value The Public Key Data associated with the Certificate.
     */
    @JvmName("jfpkccjchnximecd")
    public suspend fun publicCertData(`value`: Output) {
        this.publicCertData = value
    }

    /**
     * @param value A name used to uniquely identify this certificate.
     */
    @JvmName("hmytspxwqibrripl")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value The Public Key Data associated with the Certificate.
     */
    @JvmName("nxdyimbwulxtayvr")
    public suspend fun publicCertData(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.publicCertData = mapped
    }

    internal fun build(): VpnServerConfigurationClientRootCertificateArgs =
        VpnServerConfigurationClientRootCertificateArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            publicCertData = publicCertData ?: throw PulumiNullFieldException("publicCertData"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy