com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGrowthRateComputation.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.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property computationId The ID for a computation.
* @property name The name of a computation.
* @property periodSize The period size setup of a growth rate computation.
* @property time The time field that is used in a computation.
* @property value The value field that is used in a computation.
*/
public data class DashboardGrowthRateComputation(
public val computationId: String,
public val name: String? = null,
public val periodSize: Double? = null,
public val time: DashboardDimensionField? = null,
public val `value`: DashboardMeasureField? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardGrowthRateComputation): DashboardGrowthRateComputation = DashboardGrowthRateComputation(
computationId = javaType.computationId(),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
periodSize = javaType.periodSize().map({ args0 -> args0 }).orElse(null),
time = javaType.time().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardDimensionField.Companion.toKotlin(args0)
})
}).orElse(null),
`value` = javaType.`value`().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}