
com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.GetAnomalyDetectorResult.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.lookoutmetrics.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property anomalyDetectorConfig Configuration options for the AnomalyDetector
* @property anomalyDetectorDescription A description for the AnomalyDetector.
* @property arn The Amazon Resource Name (ARN) of the detector. For example, `arn:aws:lookoutmetrics:us-east-2:123456789012:AnomalyDetector:my-detector`
* @property kmsKeyArn KMS key used to encrypt the AnomalyDetector data
* @property metricSetList List of metric sets for anomaly detection
*/
public data class GetAnomalyDetectorResult(
public val anomalyDetectorConfig: AnomalyDetectorConfig? = null,
public val anomalyDetectorDescription: String? = null,
public val arn: String? = null,
public val kmsKeyArn: String? = null,
public val metricSetList: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lookoutmetrics.outputs.GetAnomalyDetectorResult): GetAnomalyDetectorResult = GetAnomalyDetectorResult(
anomalyDetectorConfig = javaType.anomalyDetectorConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.AnomalyDetectorConfig.Companion.toKotlin(args0)
})
}).orElse(null),
anomalyDetectorDescription = javaType.anomalyDetectorDescription().map({ args0 ->
args0
}).orElse(null),
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
kmsKeyArn = javaType.kmsKeyArn().map({ args0 -> args0 }).orElse(null),
metricSetList = javaType.metricSetList().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.AnomalyDetectorMetricSet.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy