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

cloudshift.awscdk.dsl.services.quicksight.CfnAnalysisWhatIfPointScenarioPropertyDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")

package cloudshift.awscdk.dsl.services.quicksight

import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.quicksight.CfnAnalysis
import kotlin.Number
import kotlin.String

/**
 * Provides the forecast to meet the target for a particular date.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.quicksight.*;
 * WhatIfPointScenarioProperty whatIfPointScenarioProperty = WhatIfPointScenarioProperty.builder()
 * .date("date")
 * .value(123)
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-whatifpointscenario.html)
 */
@CdkDslMarker
public class CfnAnalysisWhatIfPointScenarioPropertyDsl {
    private val cdkBuilder: CfnAnalysis.WhatIfPointScenarioProperty.Builder =
        CfnAnalysis.WhatIfPointScenarioProperty.builder()

    /**
     * @param date The date that you need the forecast results for.
     */
    public fun date(date: String) {
        cdkBuilder.date(date)
    }

    /**
     * @param value The target value that you want to meet for the provided date.
     */
    public fun `value`(`value`: Number) {
        cdkBuilder.`value`(`value`)
    }

    public fun build(): CfnAnalysis.WhatIfPointScenarioProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy