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

com.pulumi.azure.servicefabric.kotlin.inputs.ClusterReverseProxyCertificateArgs.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.servicefabric.kotlin.inputs

import com.pulumi.azure.servicefabric.inputs.ClusterReverseProxyCertificateArgs.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 thumbprint The Thumbprint of the Certificate.
 * @property thumbprintSecondary The Secondary Thumbprint of the Certificate.
 * @property x509StoreName The X509 Store where the Certificate Exists, such as `My`.
 */
public data class ClusterReverseProxyCertificateArgs(
    public val thumbprint: Output,
    public val thumbprintSecondary: Output? = null,
    public val x509StoreName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.servicefabric.inputs.ClusterReverseProxyCertificateArgs =
        com.pulumi.azure.servicefabric.inputs.ClusterReverseProxyCertificateArgs.builder()
            .thumbprint(thumbprint.applyValue({ args0 -> args0 }))
            .thumbprintSecondary(thumbprintSecondary?.applyValue({ args0 -> args0 }))
            .x509StoreName(x509StoreName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterReverseProxyCertificateArgs].
 */
@PulumiTagMarker
public class ClusterReverseProxyCertificateArgsBuilder internal constructor() {
    private var thumbprint: Output? = null

    private var thumbprintSecondary: Output? = null

    private var x509StoreName: Output? = null

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

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

    /**
     * @param value The X509 Store where the Certificate Exists, such as `My`.
     */
    @JvmName("tftatnrtnswglooi")
    public suspend fun x509StoreName(`value`: Output) {
        this.x509StoreName = value
    }

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

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

    /**
     * @param value The X509 Store where the Certificate Exists, such as `My`.
     */
    @JvmName("osxkcbwqpinjnftt")
    public suspend fun x509StoreName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.x509StoreName = mapped
    }

    internal fun build(): ClusterReverseProxyCertificateArgs = ClusterReverseProxyCertificateArgs(
        thumbprint = thumbprint ?: throw PulumiNullFieldException("thumbprint"),
        thumbprintSecondary = thumbprintSecondary,
        x509StoreName = x509StoreName ?: throw PulumiNullFieldException("x509StoreName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy