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

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

package com.pulumi.awsnative.applicationinsights.kotlin.inputs

import com.pulumi.awsnative.applicationinsights.inputs.ApplicationJmxPrometheusExporterArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The JMX Prometheus Exporter settings.
 * @property hostPort Java agent host port
 * @property jmxurl JMX service URL.
 * @property prometheusPort Prometheus exporter port.
 */
public data class ApplicationJmxPrometheusExporterArgs(
    public val hostPort: Output? = null,
    public val jmxurl: Output? = null,
    public val prometheusPort: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.applicationinsights.inputs.ApplicationJmxPrometheusExporterArgs =
        com.pulumi.awsnative.applicationinsights.inputs.ApplicationJmxPrometheusExporterArgs.builder()
            .hostPort(hostPort?.applyValue({ args0 -> args0 }))
            .jmxurl(jmxurl?.applyValue({ args0 -> args0 }))
            .prometheusPort(prometheusPort?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationJmxPrometheusExporterArgs].
 */
@PulumiTagMarker
public class ApplicationJmxPrometheusExporterArgsBuilder internal constructor() {
    private var hostPort: Output? = null

    private var jmxurl: Output? = null

    private var prometheusPort: Output? = null

    /**
     * @param value Java agent host port
     */
    @JvmName("uytagswoyvakorig")
    public suspend fun hostPort(`value`: Output) {
        this.hostPort = value
    }

    /**
     * @param value JMX service URL.
     */
    @JvmName("yaiosmsodwndirvv")
    public suspend fun jmxurl(`value`: Output) {
        this.jmxurl = value
    }

    /**
     * @param value Prometheus exporter port.
     */
    @JvmName("wxsvhipbomgoxyri")
    public suspend fun prometheusPort(`value`: Output) {
        this.prometheusPort = value
    }

    /**
     * @param value Java agent host port
     */
    @JvmName("kmuyvrhmkpeivtjh")
    public suspend fun hostPort(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hostPort = mapped
    }

    /**
     * @param value JMX service URL.
     */
    @JvmName("hdhogwoebjrqigrg")
    public suspend fun jmxurl(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.jmxurl = mapped
    }

    /**
     * @param value Prometheus exporter port.
     */
    @JvmName("jwobqtyoobmftlqq")
    public suspend fun prometheusPort(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.prometheusPort = mapped
    }

    internal fun build(): ApplicationJmxPrometheusExporterArgs = ApplicationJmxPrometheusExporterArgs(
        hostPort = hostPort,
        jmxurl = jmxurl,
        prometheusPort = prometheusPort,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy