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

com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisComputation.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 AnalysisComputation(
    public val forecast: AnalysisForecastComputation? = null,
    public val growthRate: AnalysisGrowthRateComputation? = null,
    public val maximumMinimum: AnalysisMaximumMinimumComputation? = null,
    public val metricComparison: AnalysisMetricComparisonComputation? = null,
    public val periodOverPeriod: AnalysisPeriodOverPeriodComputation? = null,
    public val periodToDate: AnalysisPeriodToDateComputation? = null,
    public val topBottomMovers: AnalysisTopBottomMoversComputation? = null,
    public val topBottomRanked: AnalysisTopBottomRankedComputation? = null,
    public val totalAggregation: AnalysisTotalAggregationComputation? = null,
    public val uniqueValues: AnalysisUniqueValuesComputation? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.AnalysisComputation): AnalysisComputation = AnalysisComputation(
            forecast = javaType.forecast().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisForecastComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            growthRate = javaType.growthRate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisGrowthRateComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            maximumMinimum = javaType.maximumMinimum().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisMaximumMinimumComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            metricComparison = javaType.metricComparison().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisMetricComparisonComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            periodOverPeriod = javaType.periodOverPeriod().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPeriodOverPeriodComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            periodToDate = javaType.periodToDate().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisPeriodToDateComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            topBottomMovers = javaType.topBottomMovers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTopBottomMoversComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            topBottomRanked = javaType.topBottomRanked().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTopBottomRankedComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            totalAggregation = javaType.totalAggregation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisTotalAggregationComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            uniqueValues = javaType.uniqueValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.AnalysisUniqueValuesComputation.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy