com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisForecastConfigurationArgs.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.AnalysisForecastConfigurationArgs.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 forecastProperties The forecast properties setup of a forecast in the line chart.
* @property scenario The forecast scenario of a forecast in the line chart.
*/
public data class AnalysisForecastConfigurationArgs(
public val forecastProperties: Output? = null,
public val scenario: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisForecastConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.AnalysisForecastConfigurationArgs.builder()
.forecastProperties(
forecastProperties?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.scenario(scenario?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnalysisForecastConfigurationArgs].
*/
@PulumiTagMarker
public class AnalysisForecastConfigurationArgsBuilder internal constructor() {
private var forecastProperties: Output? = null
private var scenario: Output? = null
/**
* @param value The forecast properties setup of a forecast in the line chart.
*/
@JvmName("rjamqpkwejpsligp")
public suspend fun forecastProperties(`value`: Output) {
this.forecastProperties = value
}
/**
* @param value The forecast scenario of a forecast in the line chart.
*/
@JvmName("ofdkncjugklvscqx")
public suspend fun scenario(`value`: Output) {
this.scenario = value
}
/**
* @param value The forecast properties setup of a forecast in the line chart.
*/
@JvmName("aknwpsljlriqubqb")
public suspend fun forecastProperties(`value`: AnalysisTimeBasedForecastPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.forecastProperties = mapped
}
/**
* @param argument The forecast properties setup of a forecast in the line chart.
*/
@JvmName("jwceqsiwuiapsyil")
public suspend fun forecastProperties(argument: suspend AnalysisTimeBasedForecastPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisTimeBasedForecastPropertiesArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.forecastProperties = mapped
}
/**
* @param value The forecast scenario of a forecast in the line chart.
*/
@JvmName("ravafwevwnlxuegx")
public suspend fun scenario(`value`: AnalysisForecastScenarioArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.scenario = mapped
}
/**
* @param argument The forecast scenario of a forecast in the line chart.
*/
@JvmName("kjlpblvhnumomodl")
public suspend fun scenario(argument: suspend AnalysisForecastScenarioArgsBuilder.() -> Unit) {
val toBeMapped = AnalysisForecastScenarioArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.scenario = mapped
}
internal fun build(): AnalysisForecastConfigurationArgs = AnalysisForecastConfigurationArgs(
forecastProperties = forecastProperties,
scenario = scenario,
)
}