com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisComputationArgs.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.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisComputationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @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 AnalysisComputationArgs(
public val forecast: Output? = null,
public val growthRate: Output? = null,
public val maximumMinimum: Output? = null,
public val metricComparison: Output? = null,
public val periodOverPeriod: Output? = null,
public val periodToDate: Output? = null,
public val topBottomMovers: Output? = null,
public val topBottomRanked: Output? = null,
public val totalAggregation: Output? = null,
public val uniqueValues: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisComputationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisComputationArgs.builder()
.forecast(forecast?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.growthRate(growthRate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.maximumMinimum(maximumMinimum?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.metricComparison(metricComparison?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.periodOverPeriod(periodOverPeriod?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.periodToDate(periodToDate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.topBottomMovers(topBottomMovers?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.topBottomRanked(topBottomRanked?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.totalAggregation(totalAggregation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.uniqueValues(uniqueValues?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisComputationArgs].
*/
@PulumiTagMarker
public class AnalysisComputationArgsBuilder internal constructor() {
private var forecast: Output? = null
private var growthRate: Output? = null
private var maximumMinimum: Output? = null
private var metricComparison: Output? = null
private var periodOverPeriod: Output? = null
private var periodToDate: Output? = null
private var topBottomMovers: Output? = null
private var topBottomRanked: Output? = null
private var totalAggregation: Output? = null
private var uniqueValues: Output? = null
/**
* @param value The forecast computation configuration.
*/
@JvmName("clbdbmrslakchjpi")
public suspend fun forecast(`value`: Output) {
this.forecast = value
}
/**
* @param value The growth rate computation configuration.
*/
@JvmName("rgpvxpogqfkxbsyj")
public suspend fun growthRate(`value`: Output) {
this.growthRate = value
}
/**
* @param value The maximum and minimum computation configuration.
*/
@JvmName("murinjhnwifhmkky")
public suspend fun maximumMinimum(`value`: Output) {
this.maximumMinimum = value
}
/**
* @param value The metric comparison computation configuration.
*/
@JvmName("qdpsenehisurmwwf")
public suspend fun metricComparison(`value`: Output) {
this.metricComparison = value
}
/**
* @param value The period over period computation configuration.
*/
@JvmName("goffsalkcdxrbmin")
public suspend fun periodOverPeriod(`value`: Output) {
this.periodOverPeriod = value
}
/**
* @param value The period to `DataSetIdentifier` computation configuration.
*/
@JvmName("bjwbswxtppvssmvu")
public suspend fun periodToDate(`value`: Output) {
this.periodToDate = value
}
/**
* @param value The top movers and bottom movers computation configuration.
*/
@JvmName("oaoslsucppbsnmwb")
public suspend fun topBottomMovers(`value`: Output) {
this.topBottomMovers = value
}
/**
* @param value The top ranked and bottom ranked computation configuration.
*/
@JvmName("aabicbipxtnetxnh")
public suspend fun topBottomRanked(`value`: Output) {
this.topBottomRanked = value
}
/**
* @param value The total aggregation computation configuration.
*/
@JvmName("dutjcnsjdauoylxd")
public suspend fun totalAggregation(`value`: Output) {
this.totalAggregation = value
}
/**
* @param value The unique values computation configuration.
*/
@JvmName("xqhmotsfrkxsooat")
public suspend fun uniqueValues(`value`: Output) {
this.uniqueValues = value
}
/**
* @param value The forecast computation configuration.
*/
@JvmName("boikhkmneibffxsv")
public suspend fun forecast(`value`: AnalysisForecastComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.forecast = mapped
}
/**
* @param argument The forecast computation configuration.
*/
@JvmName("akhfgwfcuxkubbhs")
public suspend fun forecast(argument: suspend AnalysisForecastComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisForecastComputationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.forecast = mapped
}
/**
* @param value The growth rate computation configuration.
*/
@JvmName("tgjufujbtbiqeibl")
public suspend fun growthRate(`value`: AnalysisGrowthRateComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.growthRate = mapped
}
/**
* @param argument The growth rate computation configuration.
*/
@JvmName("mpugukisgvuvffel")
public suspend fun growthRate(argument: suspend AnalysisGrowthRateComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisGrowthRateComputationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.growthRate = mapped
}
/**
* @param value The maximum and minimum computation configuration.
*/
@JvmName("nnaqwyeflonqhpgj")
public suspend fun maximumMinimum(`value`: AnalysisMaximumMinimumComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.maximumMinimum = mapped
}
/**
* @param argument The maximum and minimum computation configuration.
*/
@JvmName("fehflgriiwuyrxqw")
public suspend fun maximumMinimum(argument: suspend AnalysisMaximumMinimumComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisMaximumMinimumComputationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.maximumMinimum = mapped
}
/**
* @param value The metric comparison computation configuration.
*/
@JvmName("synkhwygksbtnldd")
public suspend fun metricComparison(`value`: AnalysisMetricComparisonComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.metricComparison = mapped
}
/**
* @param argument The metric comparison computation configuration.
*/
@JvmName("wslmrnrcbvkxjhvl")
public suspend fun metricComparison(argument: suspend AnalysisMetricComparisonComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisMetricComparisonComputationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.metricComparison = mapped
}
/**
* @param value The period over period computation configuration.
*/
@JvmName("dfxncdkalvpqyroq")
public suspend fun periodOverPeriod(`value`: AnalysisPeriodOverPeriodComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.periodOverPeriod = mapped
}
/**
* @param argument The period over period computation configuration.
*/
@JvmName("cnrhfohoqawskstd")
public suspend fun periodOverPeriod(argument: suspend AnalysisPeriodOverPeriodComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisPeriodOverPeriodComputationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.periodOverPeriod = mapped
}
/**
* @param value The period to `DataSetIdentifier` computation configuration.
*/
@JvmName("gwoxvebhlittqynu")
public suspend fun periodToDate(`value`: AnalysisPeriodToDateComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.periodToDate = mapped
}
/**
* @param argument The period to `DataSetIdentifier` computation configuration.
*/
@JvmName("vycgvtuwerfqfiph")
public suspend fun periodToDate(argument: suspend AnalysisPeriodToDateComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisPeriodToDateComputationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.periodToDate = mapped
}
/**
* @param value The top movers and bottom movers computation configuration.
*/
@JvmName("mbfypqfcyslhvrud")
public suspend fun topBottomMovers(`value`: AnalysisTopBottomMoversComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.topBottomMovers = mapped
}
/**
* @param argument The top movers and bottom movers computation configuration.
*/
@JvmName("vdcilfctgxoejeym")
public suspend fun topBottomMovers(argument: suspend AnalysisTopBottomMoversComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisTopBottomMoversComputationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.topBottomMovers = mapped
}
/**
* @param value The top ranked and bottom ranked computation configuration.
*/
@JvmName("rxegbiqmacjrbmgk")
public suspend fun topBottomRanked(`value`: AnalysisTopBottomRankedComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.topBottomRanked = mapped
}
/**
* @param argument The top ranked and bottom ranked computation configuration.
*/
@JvmName("lqhkubstsqobgpuk")
public suspend fun topBottomRanked(argument: suspend AnalysisTopBottomRankedComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisTopBottomRankedComputationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.topBottomRanked = mapped
}
/**
* @param value The total aggregation computation configuration.
*/
@JvmName("rsfhjbrecxkdblqy")
public suspend fun totalAggregation(`value`: AnalysisTotalAggregationComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.totalAggregation = mapped
}
/**
* @param argument The total aggregation computation configuration.
*/
@JvmName("otvoyvjvdshwrtlb")
public suspend fun totalAggregation(argument: suspend AnalysisTotalAggregationComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisTotalAggregationComputationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.totalAggregation = mapped
}
/**
* @param value The unique values computation configuration.
*/
@JvmName("avlhcsipkxeivhop")
public suspend fun uniqueValues(`value`: AnalysisUniqueValuesComputationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.uniqueValues = mapped
}
/**
* @param argument The unique values computation configuration.
*/
@JvmName("fttjxpokbaybgrtr")
public suspend fun uniqueValues(argument: suspend AnalysisUniqueValuesComputationArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisUniqueValuesComputationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.uniqueValues = mapped
}
internal fun build(): AnalysisComputationArgs = AnalysisComputationArgs(
forecast = forecast,
growthRate = growthRate,
maximumMinimum = maximumMinimum,
metricComparison = metricComparison,
periodOverPeriod = periodOverPeriod,
periodToDate = periodToDate,
topBottomMovers = topBottomMovers,
topBottomRanked = topBottomRanked,
totalAggregation = totalAggregation,
uniqueValues = uniqueValues,
)
}