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

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

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

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

import com.pulumi.azure.network.inputs.VpnServerConfigurationClientRevokedCertificateArgs.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 thumbprint The Thumbprint of the Certificate.
 */
public data class VpnServerConfigurationClientRevokedCertificateArgs(
    public val name: Output,
    public val thumbprint: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.network.inputs.VpnServerConfigurationClientRevokedCertificateArgs =
        com.pulumi.azure.network.inputs.VpnServerConfigurationClientRevokedCertificateArgs.builder()
            .name(name.applyValue({ args0 -> args0 }))
            .thumbprint(thumbprint.applyValue({ args0 -> args0 })).build()
}

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

    private var thumbprint: Output? = null

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

    /**
     * @param value The Thumbprint of the Certificate.
     */
    @JvmName("ncnxgckguxjikoso")
    public suspend fun thumbprint(`value`: Output) {
        this.thumbprint = value
    }

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

    /**
     * @param value The Thumbprint of the Certificate.
     */
    @JvmName("ymbvmmxieibrdfgk")
    public suspend fun thumbprint(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.thumbprint = mapped
    }

    internal fun build(): VpnServerConfigurationClientRevokedCertificateArgs =
        VpnServerConfigurationClientRevokedCertificateArgs(
            name = name ?: throw PulumiNullFieldException("name"),
            thumbprint = thumbprint ?: throw PulumiNullFieldException("thumbprint"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy