com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGrowthRateComputation.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 AnalysisGrowthRateComputation(
public val computationId: String,
public val name: String? = null,
public val periodSize: Double? = null,
public val time: AnalysisDimensionField? = null,
public val `value`: AnalysisMeasureField? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisGrowthRateComputation): AnalysisGrowthRateComputation = AnalysisGrowthRateComputation(
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.AnalysisDimensionField.Companion.toKotlin(args0)
})
}).orElse(null),
`value` = javaType.`value`().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}