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

com.pulumi.aws.quicksight.kotlin.inputs.DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.quicksight.kotlin.inputs

import com.pulumi.aws.quicksight.inputs.DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property columnName The name of the lookback window column.
 * @property size The lookback window column size.
 * @property sizeUnit The size unit that is used for the lookback window column. Valid values for this structure are `HOUR`, `DAY`, and `WEEK`.
 */
public data class DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs(
    public val columnName: Output,
    public val size: Output,
    public val sizeUnit: Output,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.quicksight.inputs.DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs =
        com.pulumi.aws.quicksight.inputs.DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs.builder()
            .columnName(columnName.applyValue({ args0 -> args0 }))
            .size(size.applyValue({ args0 -> args0 }))
            .sizeUnit(sizeUnit.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs].
 */
@PulumiTagMarker
public class DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgsBuilder
internal constructor() {
    private var columnName: Output? = null

    private var size: Output? = null

    private var sizeUnit: Output? = null

    /**
     * @param value The name of the lookback window column.
     */
    @JvmName("joyjucclgsrngpuq")
    public suspend fun columnName(`value`: Output) {
        this.columnName = value
    }

    /**
     * @param value The lookback window column size.
     */
    @JvmName("ovjtnemcnmxssrcf")
    public suspend fun size(`value`: Output) {
        this.size = value
    }

    /**
     * @param value The size unit that is used for the lookback window column. Valid values for this structure are `HOUR`, `DAY`, and `WEEK`.
     */
    @JvmName("psdccpavbkjvuosr")
    public suspend fun sizeUnit(`value`: Output) {
        this.sizeUnit = value
    }

    /**
     * @param value The name of the lookback window column.
     */
    @JvmName("thhwvsiiwswxudwt")
    public suspend fun columnName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.columnName = mapped
    }

    /**
     * @param value The lookback window column size.
     */
    @JvmName("ahatbojcmowaspjx")
    public suspend fun size(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.size = mapped
    }

    /**
     * @param value The size unit that is used for the lookback window column. Valid values for this structure are `HOUR`, `DAY`, and `WEEK`.
     */
    @JvmName("awvduyksrcgbkycp")
    public suspend fun sizeUnit(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sizeUnit = mapped
    }

    internal fun build(): DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs =
        DataSetRefreshPropertiesRefreshConfigurationIncrementalRefreshLookbackWindowArgs(
            columnName = columnName ?: throw PulumiNullFieldException("columnName"),
            size = size ?: throw PulumiNullFieldException("size"),
            sizeUnit = sizeUnit ?: throw PulumiNullFieldException("sizeUnit"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy