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

com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateWhatIfRangeScenarioArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.TemplateWhatIfRangeScenarioArgs.builder
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 kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property endDate The end date in the date range that you need the forecast results for.
 * @property startDate The start date in the date range that you need the forecast results for.
 * @property value The target value that you want to meet for the provided date range.
 */
public data class TemplateWhatIfRangeScenarioArgs(
    public val endDate: Output,
    public val startDate: Output,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateWhatIfRangeScenarioArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateWhatIfRangeScenarioArgs.builder()
            .endDate(endDate.applyValue({ args0 -> args0 }))
            .startDate(startDate.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TemplateWhatIfRangeScenarioArgs].
 */
@PulumiTagMarker
public class TemplateWhatIfRangeScenarioArgsBuilder internal constructor() {
    private var endDate: Output? = null

    private var startDate: Output? = null

    private var `value`: Output? = null

    /**
     * @param value The end date in the date range that you need the forecast results for.
     */
    @JvmName("suxkdepeloqbmrfq")
    public suspend fun endDate(`value`: Output) {
        this.endDate = value
    }

    /**
     * @param value The start date in the date range that you need the forecast results for.
     */
    @JvmName("ppydmmqfwltfmiew")
    public suspend fun startDate(`value`: Output) {
        this.startDate = value
    }

    /**
     * @param value The target value that you want to meet for the provided date range.
     */
    @JvmName("efgymyljmqxrorgw")
    public suspend fun `value`(`value`: Output) {
        this.`value` = value
    }

    /**
     * @param value The end date in the date range that you need the forecast results for.
     */
    @JvmName("iafwifkoigmdsrhy")
    public suspend fun endDate(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endDate = mapped
    }

    /**
     * @param value The start date in the date range that you need the forecast results for.
     */
    @JvmName("shehwvdewfuhlibf")
    public suspend fun startDate(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.startDate = mapped
    }

    /**
     * @param value The target value that you want to meet for the provided date range.
     */
    @JvmName("dnqjvtrvbtooiwwv")
    public suspend fun `value`(`value`: Double) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.`value` = mapped
    }

    internal fun build(): TemplateWhatIfRangeScenarioArgs = TemplateWhatIfRangeScenarioArgs(
        endDate = endDate ?: throw PulumiNullFieldException("endDate"),
        startDate = startDate ?: throw PulumiNullFieldException("startDate"),
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy