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

com.pulumi.azure.apimanagement.kotlin.inputs.BackendTlsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.apimanagement.kotlin.inputs

import com.pulumi.azure.apimanagement.inputs.BackendTlsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property validateCertificateChain Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
 * @property validateCertificateName Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
 */
public data class BackendTlsArgs(
    public val validateCertificateChain: Output? = null,
    public val validateCertificateName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.apimanagement.inputs.BackendTlsArgs =
        com.pulumi.azure.apimanagement.inputs.BackendTlsArgs.builder()
            .validateCertificateChain(validateCertificateChain?.applyValue({ args0 -> args0 }))
            .validateCertificateName(validateCertificateName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BackendTlsArgs].
 */
@PulumiTagMarker
public class BackendTlsArgsBuilder internal constructor() {
    private var validateCertificateChain: Output? = null

    private var validateCertificateName: Output? = null

    /**
     * @param value Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
     */
    @JvmName("gjgbekowpkjvlvqx")
    public suspend fun validateCertificateChain(`value`: Output) {
        this.validateCertificateChain = value
    }

    /**
     * @param value Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
     */
    @JvmName("nqdypbxbdgbihlkd")
    public suspend fun validateCertificateName(`value`: Output) {
        this.validateCertificateName = value
    }

    /**
     * @param value Flag indicating whether SSL certificate chain validation should be done when using self-signed certificates for the backend host.
     */
    @JvmName("bbacywawftrbghce")
    public suspend fun validateCertificateChain(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.validateCertificateChain = mapped
    }

    /**
     * @param value Flag indicating whether SSL certificate name validation should be done when using self-signed certificates for the backend host.
     */
    @JvmName("inemgxjwhpjhhtra")
    public suspend fun validateCertificateName(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.validateCertificateName = mapped
    }

    internal fun build(): BackendTlsArgs = BackendTlsArgs(
        validateCertificateChain = validateCertificateChain,
        validateCertificateName = validateCertificateName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy