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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGrowthRateComputation.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy