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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.DashboardWhatIfPointScenarioArgs.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 date The date that you need the forecast results for.
 * @property value The target value that you want to meet for the provided date.
 */
public data class DashboardWhatIfPointScenarioArgs(
    public val date: Output,
    public val `value`: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardWhatIfPointScenarioArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardWhatIfPointScenarioArgs.builder()
            .date(date.applyValue({ args0 -> args0 }))
            .`value`(`value`.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DashboardWhatIfPointScenarioArgs].
 */
@PulumiTagMarker
public class DashboardWhatIfPointScenarioArgsBuilder internal constructor() {
    private var date: Output? = null

    private var `value`: Output? = null

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

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

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

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

    internal fun build(): DashboardWhatIfPointScenarioArgs = DashboardWhatIfPointScenarioArgs(
        date = date ?: throw PulumiNullFieldException("date"),
        `value` = `value` ?: throw PulumiNullFieldException("value"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy