
com.pulumi.awsnative.msk.kotlin.inputs.ClusterPrometheusArgs.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.ClusterPrometheusArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property jmxExporter Indicates whether you want to enable or disable the JMX Exporter.
* @property nodeExporter Indicates whether you want to enable or disable the Node Exporter.
*/
public data class ClusterPrometheusArgs(
public val jmxExporter: Output? = null,
public val nodeExporter: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterPrometheusArgs =
com.pulumi.awsnative.msk.inputs.ClusterPrometheusArgs.builder()
.jmxExporter(jmxExporter?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.nodeExporter(nodeExporter?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ClusterPrometheusArgs].
*/
@PulumiTagMarker
public class ClusterPrometheusArgsBuilder internal constructor() {
private var jmxExporter: Output? = null
private var nodeExporter: Output? = null
/**
* @param value Indicates whether you want to enable or disable the JMX Exporter.
*/
@JvmName("eddcitwdluyullbb")
public suspend fun jmxExporter(`value`: Output) {
this.jmxExporter = value
}
/**
* @param value Indicates whether you want to enable or disable the Node Exporter.
*/
@JvmName("kuprwvafxcyndiwj")
public suspend fun nodeExporter(`value`: Output) {
this.nodeExporter = value
}
/**
* @param value Indicates whether you want to enable or disable the JMX Exporter.
*/
@JvmName("cuhemndywliiynfi")
public suspend fun jmxExporter(`value`: ClusterJmxExporterArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.jmxExporter = mapped
}
/**
* @param argument Indicates whether you want to enable or disable the JMX Exporter.
*/
@JvmName("jjygdqluuttnsxyv")
public suspend fun jmxExporter(argument: suspend ClusterJmxExporterArgsBuilder.() -> Unit) {
val toBeMapped = ClusterJmxExporterArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.jmxExporter = mapped
}
/**
* @param value Indicates whether you want to enable or disable the Node Exporter.
*/
@JvmName("mmwadfjmpsnhbxkf")
public suspend fun nodeExporter(`value`: ClusterNodeExporterArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.nodeExporter = mapped
}
/**
* @param argument Indicates whether you want to enable or disable the Node Exporter.
*/
@JvmName("lreicotjyfxfruif")
public suspend fun nodeExporter(argument: suspend ClusterNodeExporterArgsBuilder.() -> Unit) {
val toBeMapped = ClusterNodeExporterArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.nodeExporter = mapped
}
internal fun build(): ClusterPrometheusArgs = ClusterPrometheusArgs(
jmxExporter = jmxExporter,
nodeExporter = nodeExporter,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy