![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisForecastComputationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.AnalysisForecastComputationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisForecastComputationSeasonality
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property computationId The ID for a computation.
* @property customSeasonalityValue The custom seasonality value setup of a forecast computation.
* @property lowerBoundary The lower boundary setup of a forecast computation.
* @property name The name of a computation.
* @property periodsBackward The periods backward setup of a forecast computation.
* @property periodsForward The periods forward setup of a forecast computation.
* @property predictionInterval The prediction interval setup of a forecast computation.
* @property seasonality The seasonality setup of a forecast computation. Choose one of the following options:
* - `AUTOMATIC`
* - `CUSTOM` : Checks the custom seasonality value.
* @property time The time field that is used in a computation.
* @property upperBoundary The upper boundary setup of a forecast computation.
* @property value The value field that is used in a computation.
*/
public data class AnalysisForecastComputationArgs(
public val computationId: Output,
public val customSeasonalityValue: Output? = null,
public val lowerBoundary: Output? = null,
public val name: Output? = null,
public val periodsBackward: Output? = null,
public val periodsForward: Output? = null,
public val predictionInterval: Output? = null,
public val seasonality: Output? = null,
public val time: Output? = null,
public val upperBoundary: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisForecastComputationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisForecastComputationArgs.builder()
.computationId(computationId.applyValue({ args0 -> args0 }))
.customSeasonalityValue(customSeasonalityValue?.applyValue({ args0 -> args0 }))
.lowerBoundary(lowerBoundary?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.periodsBackward(periodsBackward?.applyValue({ args0 -> args0 }))
.periodsForward(periodsForward?.applyValue({ args0 -> args0 }))
.predictionInterval(predictionInterval?.applyValue({ args0 -> args0 }))
.seasonality(seasonality?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.time(time?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.upperBoundary(upperBoundary?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisForecastComputationArgs].
*/
@PulumiTagMarker
public class AnalysisForecastComputationArgsBuilder internal constructor() {
private var computationId: Output? = null
private var customSeasonalityValue: Output? = null
private var lowerBoundary: Output? = null
private var name: Output? = null
private var periodsBackward: Output? = null
private var periodsForward: Output? = null
private var predictionInterval: Output? = null
private var seasonality: Output? = null
private var time: Output? = null
private var upperBoundary: Output? = null
private var `value`: Output? = null
/**
* @param value The ID for a computation.
*/
@JvmName("elfwlwjsmocnxfel")
public suspend fun computationId(`value`: Output) {
this.computationId = value
}
/**
* @param value The custom seasonality value setup of a forecast computation.
*/
@JvmName("ytkglvhokckccrca")
public suspend fun customSeasonalityValue(`value`: Output) {
this.customSeasonalityValue = value
}
/**
* @param value The lower boundary setup of a forecast computation.
*/
@JvmName("bvsjfmtlpuoojfiw")
public suspend fun lowerBoundary(`value`: Output) {
this.lowerBoundary = value
}
/**
* @param value The name of a computation.
*/
@JvmName("trewpdusmhjbctlm")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The periods backward setup of a forecast computation.
*/
@JvmName("qljanojydllvktjt")
public suspend fun periodsBackward(`value`: Output) {
this.periodsBackward = value
}
/**
* @param value The periods forward setup of a forecast computation.
*/
@JvmName("ikhdvqubyoroqtnj")
public suspend fun periodsForward(`value`: Output) {
this.periodsForward = value
}
/**
* @param value The prediction interval setup of a forecast computation.
*/
@JvmName("trbudtwukeutkmhl")
public suspend fun predictionInterval(`value`: Output) {
this.predictionInterval = value
}
/**
* @param value The seasonality setup of a forecast computation. Choose one of the following options:
* - `AUTOMATIC`
* - `CUSTOM` : Checks the custom seasonality value.
*/
@JvmName("ituovwvcrxyjhaop")
public suspend fun seasonality(`value`: Output) {
this.seasonality = value
}
/**
* @param value The time field that is used in a computation.
*/
@JvmName("uodvuwmvwwcmnehn")
public suspend fun time(`value`: Output) {
this.time = value
}
/**
* @param value The upper boundary setup of a forecast computation.
*/
@JvmName("yeertpmdkbvcydsg")
public suspend fun upperBoundary(`value`: Output) {
this.upperBoundary = value
}
/**
* @param value The value field that is used in a computation.
*/
@JvmName("bjdpkyklwyweanpw")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The ID for a computation.
*/
@JvmName("yibrlptqtklmmdjg")
public suspend fun computationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.computationId = mapped
}
/**
* @param value The custom seasonality value setup of a forecast computation.
*/
@JvmName("vfupebkssuvxhjli")
public suspend fun customSeasonalityValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.customSeasonalityValue = mapped
}
/**
* @param value The lower boundary setup of a forecast computation.
*/
@JvmName("lvsolcpatoqtggsi")
public suspend fun lowerBoundary(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.lowerBoundary = mapped
}
/**
* @param value The name of a computation.
*/
@JvmName("uyxrxurcbdifkrmb")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The periods backward setup of a forecast computation.
*/
@JvmName("nudisgssvncabtfd")
public suspend fun periodsBackward(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.periodsBackward = mapped
}
/**
* @param value The periods forward setup of a forecast computation.
*/
@JvmName("wdrfqofgdtrkhmle")
public suspend fun periodsForward(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.periodsForward = mapped
}
/**
* @param value The prediction interval setup of a forecast computation.
*/
@JvmName("ggueaepesublgrur")
public suspend fun predictionInterval(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.predictionInterval = mapped
}
/**
* @param value The seasonality setup of a forecast computation. Choose one of the following options:
* - `AUTOMATIC`
* - `CUSTOM` : Checks the custom seasonality value.
*/
@JvmName("xwxnqqfnjmnhnivm")
public suspend fun seasonality(`value`: AnalysisForecastComputationSeasonality?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.seasonality = mapped
}
/**
* @param value The time field that is used in a computation.
*/
@JvmName("kpbgnvciskllydyl")
public suspend fun time(`value`: AnalysisDimensionFieldArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.time = mapped
}
/**
* @param argument The time field that is used in a computation.
*/
@JvmName("vplrpxpxodhkpxtt")
public suspend fun time(argument: suspend AnalysisDimensionFieldArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisDimensionFieldArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.time = mapped
}
/**
* @param value The upper boundary setup of a forecast computation.
*/
@JvmName("sidjmrudnhwfipcu")
public suspend fun upperBoundary(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.upperBoundary = mapped
}
/**
* @param value The value field that is used in a computation.
*/
@JvmName("yusclmnlojkvjwyx")
public suspend fun `value`(`value`: AnalysisMeasureFieldArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
/**
* @param argument The value field that is used in a computation.
*/
@JvmName("hahqhrjgmirqocqj")
public suspend fun `value`(argument: suspend AnalysisMeasureFieldArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisMeasureFieldArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.`value` = mapped
}
internal fun build(): AnalysisForecastComputationArgs = AnalysisForecastComputationArgs(
computationId = computationId ?: throw PulumiNullFieldException("computationId"),
customSeasonalityValue = customSeasonalityValue,
lowerBoundary = lowerBoundary,
name = name,
periodsBackward = periodsBackward,
periodsForward = periodsForward,
predictionInterval = predictionInterval,
seasonality = seasonality,
time = time,
upperBoundary = upperBoundary,
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy