
com.pulumi.awsnative.lookoutmetrics.kotlin.inputs.AnomalyDetectorMetricSetArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.lookoutmetrics.kotlin.inputs
import com.pulumi.awsnative.lookoutmetrics.inputs.AnomalyDetectorMetricSetArgs.builder
import com.pulumi.awsnative.lookoutmetrics.kotlin.enums.AnomalyDetectorMetricSetMetricSetFrequency
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property dimensionList Dimensions for this MetricSet.
* @property metricList Metrics captured by this MetricSet.
* @property metricSetDescription A description for the MetricSet.
* @property metricSetFrequency A frequency period to aggregate the data
* @property metricSetName The name of the MetricSet.
* @property metricSource Contains information about how the source data should be interpreted.
* @property offset Offset, in seconds, between the frequency interval and the time at which the metrics are available.
* @property timestampColumn Contains information about the column used for tracking time in your source data.
* @property timezone The time zone in which your source data was recorded.
*/
public data class AnomalyDetectorMetricSetArgs(
public val dimensionList: Output>? = null,
public val metricList: Output>,
public val metricSetDescription: Output? = null,
public val metricSetFrequency: Output? = null,
public val metricSetName: Output,
public val metricSource: Output,
public val offset: Output? = null,
public val timestampColumn: Output? = null,
public val timezone: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.lookoutmetrics.inputs.AnomalyDetectorMetricSetArgs =
com.pulumi.awsnative.lookoutmetrics.inputs.AnomalyDetectorMetricSetArgs.builder()
.dimensionList(dimensionList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.metricList(
metricList.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.metricSetDescription(metricSetDescription?.applyValue({ args0 -> args0 }))
.metricSetFrequency(
metricSetFrequency?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.metricSetName(metricSetName.applyValue({ args0 -> args0 }))
.metricSource(metricSource.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.offset(offset?.applyValue({ args0 -> args0 }))
.timestampColumn(timestampColumn?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.timezone(timezone?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AnomalyDetectorMetricSetArgs].
*/
@PulumiTagMarker
public class AnomalyDetectorMetricSetArgsBuilder internal constructor() {
private var dimensionList: Output>? = null
private var metricList: Output>? = null
private var metricSetDescription: Output? = null
private var metricSetFrequency: Output? = null
private var metricSetName: Output? = null
private var metricSource: Output? = null
private var offset: Output? = null
private var timestampColumn: Output? = null
private var timezone: Output? = null
/**
* @param value Dimensions for this MetricSet.
*/
@JvmName("wkgxfpqjhmjbhjtq")
public suspend fun dimensionList(`value`: Output>) {
this.dimensionList = value
}
@JvmName("awgtycyjljyexomh")
public suspend fun dimensionList(vararg values: Output) {
this.dimensionList = Output.all(values.asList())
}
/**
* @param values Dimensions for this MetricSet.
*/
@JvmName("mxxphkqovqmvoygl")
public suspend fun dimensionList(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy