
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMetricComparisonComputation.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.quicksight.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property computationId The ID for a computation.
* @property fromValue The field that is used in a metric comparison from value setup.
* @property name The name of a computation.
* @property targetValue The field that is used in a metric comparison to value setup.
* @property time The time field that is used in a computation.
*/
public data class DashboardMetricComparisonComputation(
public val computationId: String,
public val fromValue: DashboardMeasureField? = null,
public val name: String? = null,
public val targetValue: DashboardMeasureField? = null,
public val time: DashboardDimensionField? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardMetricComparisonComputation): DashboardMetricComparisonComputation = DashboardMetricComparisonComputation(
computationId = javaType.computationId(),
fromValue = javaType.fromValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
targetValue = javaType.targetValue().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
time = javaType.time().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDimensionField.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy