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

com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGrowthRateComputation.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: 0.122.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 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),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy