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

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

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

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

/**
 *
 * @property dataSetIdentifier The data set that is used in the rolling date configuration.
 * @property expression The expression of the rolling date configuration.
 */
public data class DashboardRollingDateConfigurationArgs(
    public val dataSetIdentifier: Output? = null,
    public val expression: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DashboardRollingDateConfigurationArgs =
        com.pulumi.awsnative.quicksight.inputs.DashboardRollingDateConfigurationArgs.builder()
            .dataSetIdentifier(dataSetIdentifier?.applyValue({ args0 -> args0 }))
            .expression(expression.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DashboardRollingDateConfigurationArgs].
 */
@PulumiTagMarker
public class DashboardRollingDateConfigurationArgsBuilder internal constructor() {
    private var dataSetIdentifier: Output? = null

    private var expression: Output? = null

    /**
     * @param value The data set that is used in the rolling date configuration.
     */
    @JvmName("mbtqcjobiirewfmk")
    public suspend fun dataSetIdentifier(`value`: Output) {
        this.dataSetIdentifier = value
    }

    /**
     * @param value The expression of the rolling date configuration.
     */
    @JvmName("tbqrcggdyoreupov")
    public suspend fun expression(`value`: Output) {
        this.expression = value
    }

    /**
     * @param value The data set that is used in the rolling date configuration.
     */
    @JvmName("lyqgjhufgshbqyfd")
    public suspend fun dataSetIdentifier(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataSetIdentifier = mapped
    }

    /**
     * @param value The expression of the rolling date configuration.
     */
    @JvmName("deehxgkgumxqsjhl")
    public suspend fun expression(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.expression = mapped
    }

    internal fun build(): DashboardRollingDateConfigurationArgs =
        DashboardRollingDateConfigurationArgs(
            dataSetIdentifier = dataSetIdentifier,
            expression = expression ?: throw PulumiNullFieldException("expression"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy