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

com.pulumi.awsnative.iot.kotlin.inputs.GetCustomMetricPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iot.kotlin.inputs

import com.pulumi.awsnative.iot.inputs.GetCustomMetricPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property metricName The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws: . Cannot be updated once defined.
 */
public data class GetCustomMetricPlainArgs(
    public val metricName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iot.inputs.GetCustomMetricPlainArgs =
        com.pulumi.awsnative.iot.inputs.GetCustomMetricPlainArgs.builder()
            .metricName(metricName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetCustomMetricPlainArgs].
 */
@PulumiTagMarker
public class GetCustomMetricPlainArgsBuilder internal constructor() {
    private var metricName: String? = null

    /**
     * @param value The name of the custom metric. This will be used in the metric report submitted from the device/thing. Shouldn't begin with aws: . Cannot be updated once defined.
     */
    @JvmName("eqmddmvvoqanixee")
    public suspend fun metricName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.metricName = mapped
    }

    internal fun build(): GetCustomMetricPlainArgs = GetCustomMetricPlainArgs(
        metricName = metricName ?: throw PulumiNullFieldException("metricName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy