com.pulumi.aws.autoscaling.kotlin.inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.autoscaling.kotlin.inputs
import com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property dimensions Dimensions of the metric.
* @property metricName Name of the metric.
* @property namespace Namespace of the metric.
*/
public data class
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs(
public val dimensions: Output>? =
null,
public val metricName: Output,
public val namespace: Output,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs =
com.pulumi.aws.autoscaling.inputs.PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs.builder()
.dimensions(
dimensions?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.metricName(metricName.applyValue({ args0 -> args0 }))
.namespace(namespace.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgs].
*/
@PulumiTagMarker
public class
PolicyTargetTrackingConfigurationCustomizedMetricSpecificationMetricMetricStatMetricArgsBuilder
internal constructor() {
private var dimensions:
Output>? =
null
private var metricName: Output? = null
private var namespace: Output? = null
/**
* @param value Dimensions of the metric.
*/
@JvmName("fomvlnrfcadseuhc")
public suspend fun dimensions(`value`: Output>) {
this.dimensions = value
}
@JvmName("kytavowsnuvlxqqr")
public suspend fun dimensions(vararg values: Output) {
this.dimensions = Output.all(values.asList())
}
/**
* @param values Dimensions of the metric.
*/
@JvmName("liaqhcxbxqyaslyi")
public suspend fun dimensions(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy