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

com.pulumi.azurenative.iotoperationsmq.kotlin.inputs.LocalBrokerConnectionTlsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.iotoperationsmq.kotlin.inputs

import com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerConnectionTlsArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Mqtt Local Broker Connection TLS details
 * @property tlsEnabled Tls Enabled on Local Broker Connection.
 * @property trustedCaCertificateConfigMap Trusted CA certificate config map name for Local Broker.
 */
public data class LocalBrokerConnectionTlsArgs(
    public val tlsEnabled: Output? = null,
    public val trustedCaCertificateConfigMap: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerConnectionTlsArgs = com.pulumi.azurenative.iotoperationsmq.inputs.LocalBrokerConnectionTlsArgs.builder()
        .tlsEnabled(tlsEnabled?.applyValue({ args0 -> args0 }))
        .trustedCaCertificateConfigMap(
            trustedCaCertificateConfigMap?.applyValue({ args0 ->
                args0
            }),
        ).build()
}

/**
 * Builder for [LocalBrokerConnectionTlsArgs].
 */
@PulumiTagMarker
public class LocalBrokerConnectionTlsArgsBuilder internal constructor() {
    private var tlsEnabled: Output? = null

    private var trustedCaCertificateConfigMap: Output? = null

    /**
     * @param value Tls Enabled on Local Broker Connection.
     */
    @JvmName("hechtbcvafpksjck")
    public suspend fun tlsEnabled(`value`: Output) {
        this.tlsEnabled = value
    }

    /**
     * @param value Trusted CA certificate config map name for Local Broker.
     */
    @JvmName("nndkfgoobqmctnxy")
    public suspend fun trustedCaCertificateConfigMap(`value`: Output) {
        this.trustedCaCertificateConfigMap = value
    }

    /**
     * @param value Tls Enabled on Local Broker Connection.
     */
    @JvmName("efjsmfiabamgfbfk")
    public suspend fun tlsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tlsEnabled = mapped
    }

    /**
     * @param value Trusted CA certificate config map name for Local Broker.
     */
    @JvmName("ntvlamrcugmdiuvx")
    public suspend fun trustedCaCertificateConfigMap(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trustedCaCertificateConfigMap = mapped
    }

    internal fun build(): LocalBrokerConnectionTlsArgs = LocalBrokerConnectionTlsArgs(
        tlsEnabled = tlsEnabled,
        trustedCaCertificateConfigMap = trustedCaCertificateConfigMap,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy