com.pulumi.awsnative.msk.kotlin.inputs.ClusterJmxExporterArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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"),
)
}