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

com.pulumi.awsnative.ce.kotlin.outputs.GetAnomalyMonitorResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.ce.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property creationDate The date when the monitor was created.
 * @property dimensionalValueCount The value for evaluated dimensions.
 * @property lastEvaluatedDate The date when the monitor last evaluated for anomalies.
 * @property lastUpdatedDate The date when the monitor was last updated.
 * @property monitorArn The Amazon Resource Name (ARN) value for the monitor.
 * @property monitorName The name of the monitor.
 */
public data class GetAnomalyMonitorResult(
    public val creationDate: String? = null,
    public val dimensionalValueCount: Int? = null,
    public val lastEvaluatedDate: String? = null,
    public val lastUpdatedDate: String? = null,
    public val monitorArn: String? = null,
    public val monitorName: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.ce.outputs.GetAnomalyMonitorResult): GetAnomalyMonitorResult = GetAnomalyMonitorResult(
            creationDate = javaType.creationDate().map({ args0 -> args0 }).orElse(null),
            dimensionalValueCount = javaType.dimensionalValueCount().map({ args0 -> args0 }).orElse(null),
            lastEvaluatedDate = javaType.lastEvaluatedDate().map({ args0 -> args0 }).orElse(null),
            lastUpdatedDate = javaType.lastUpdatedDate().map({ args0 -> args0 }).orElse(null),
            monitorArn = javaType.monitorArn().map({ args0 -> args0 }).orElse(null),
            monitorName = javaType.monitorName().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy