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

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

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import kotlin.Suppress

/**
 *
 * @property forecast The forecast computation configuration.
 * @property growthRate The growth rate computation configuration.
 * @property maximumMinimum The maximum and minimum computation configuration.
 * @property metricComparison The metric comparison computation configuration.
 * @property periodOverPeriod The period over period computation configuration.
 * @property periodToDate The period to `DataSetIdentifier` computation configuration.
 * @property topBottomMovers The top movers and bottom movers computation configuration.
 * @property topBottomRanked The top ranked and bottom ranked computation configuration.
 * @property totalAggregation The total aggregation computation configuration.
 * @property uniqueValues The unique values computation configuration.
 */
public data class DashboardComputation(
    public val forecast: DashboardForecastComputation? = null,
    public val growthRate: DashboardGrowthRateComputation? = null,
    public val maximumMinimum: DashboardMaximumMinimumComputation? = null,
    public val metricComparison: DashboardMetricComparisonComputation? = null,
    public val periodOverPeriod: DashboardPeriodOverPeriodComputation? = null,
    public val periodToDate: DashboardPeriodToDateComputation? = null,
    public val topBottomMovers: DashboardTopBottomMoversComputation? = null,
    public val topBottomRanked: DashboardTopBottomRankedComputation? = null,
    public val totalAggregation: DashboardTotalAggregationComputation? = null,
    public val uniqueValues: DashboardUniqueValuesComputation? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.DashboardComputation): DashboardComputation = DashboardComputation(
            forecast = javaType.forecast().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardForecastComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            growthRate = javaType.growthRate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardGrowthRateComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maximumMinimum = javaType.maximumMinimum().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMaximumMinimumComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            metricComparison = javaType.metricComparison().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardMetricComparisonComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            periodOverPeriod = javaType.periodOverPeriod().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardPeriodOverPeriodComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            periodToDate = javaType.periodToDate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardPeriodToDateComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            topBottomMovers = javaType.topBottomMovers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTopBottomMoversComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            topBottomRanked = javaType.topBottomRanked().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTopBottomRankedComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalAggregation = javaType.totalAggregation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardTotalAggregationComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            uniqueValues = javaType.uniqueValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.DashboardUniqueValuesComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy