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

com.pulumi.awsnative.msk.kotlin.inputs.ClusterJmxExporterArgs.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: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.msk.kotlin.inputs

import com.pulumi.awsnative.msk.inputs.ClusterJmxExporterArgs.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.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property enabledInBroker Indicates whether you want to enable or disable the JMX Exporter.
 */
public data class ClusterJmxExporterArgs(
    public val enabledInBroker: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterJmxExporterArgs =
        com.pulumi.awsnative.msk.inputs.ClusterJmxExporterArgs.builder()
            .enabledInBroker(enabledInBroker.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ClusterJmxExporterArgs].
 */
@PulumiTagMarker
public class ClusterJmxExporterArgsBuilder internal constructor() {
    private var enabledInBroker: Output? = null

    /**
     * @param value Indicates whether you want to enable or disable the JMX Exporter.
     */
    @JvmName("amvbxsvunnknqjdr")
    public suspend fun enabledInBroker(`value`: Output) {
        this.enabledInBroker = value
    }

    /**
     * @param value Indicates whether you want to enable or disable the JMX Exporter.
     */
    @JvmName("cfjivfhumsclpcrw")
    public suspend fun enabledInBroker(`value`: Boolean) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.enabledInBroker = mapped
    }

    internal fun build(): ClusterJmxExporterArgs = ClusterJmxExporterArgs(
        enabledInBroker = enabledInBroker ?: throw PulumiNullFieldException("enabledInBroker"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy