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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TemplateDateTimeDefaultValuesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property dynamicValue The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping.
 * @property rollingDate The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression.
 * @property staticValues The static values of the `DataTimeDefaultValues` .
 */
public data class TemplateDateTimeDefaultValuesArgs(
    public val dynamicValue: Output? = null,
    public val rollingDate: Output? = null,
    public val staticValues: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateDateTimeDefaultValuesArgs =
        com.pulumi.awsnative.quicksight.inputs.TemplateDateTimeDefaultValuesArgs.builder()
            .dynamicValue(dynamicValue?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .rollingDate(rollingDate?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .staticValues(staticValues?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [TemplateDateTimeDefaultValuesArgs].
 */
@PulumiTagMarker
public class TemplateDateTimeDefaultValuesArgsBuilder internal constructor() {
    private var dynamicValue: Output? = null

    private var rollingDate: Output? = null

    private var staticValues: Output>? = null

    /**
     * @param value The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping.
     */
    @JvmName("ixhprfjuoiaauiln")
    public suspend fun dynamicValue(`value`: Output) {
        this.dynamicValue = value
    }

    /**
     * @param value The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression.
     */
    @JvmName("wuclbfsfmldasjlf")
    public suspend fun rollingDate(`value`: Output) {
        this.rollingDate = value
    }

    /**
     * @param value The static values of the `DataTimeDefaultValues` .
     */
    @JvmName("ipvgfxrklxddlacq")
    public suspend fun staticValues(`value`: Output>) {
        this.staticValues = value
    }

    @JvmName("sducnwbdhyanwtdv")
    public suspend fun staticValues(vararg values: Output) {
        this.staticValues = Output.all(values.asList())
    }

    /**
     * @param values The static values of the `DataTimeDefaultValues` .
     */
    @JvmName("aasvoqyruxibrxkl")
    public suspend fun staticValues(values: List>) {
        this.staticValues = Output.all(values)
    }

    /**
     * @param value The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping.
     */
    @JvmName("hpxmdguursxqqnei")
    public suspend fun dynamicValue(`value`: TemplateDynamicDefaultValueArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dynamicValue = mapped
    }

    /**
     * @param argument The dynamic value of the `DataTimeDefaultValues` . Different defaults are displayed according to users, groups, and values mapping.
     */
    @JvmName("qtsxajagfsjubsbt")
    public suspend fun dynamicValue(argument: suspend TemplateDynamicDefaultValueArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateDynamicDefaultValueArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dynamicValue = mapped
    }

    /**
     * @param value The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression.
     */
    @JvmName("dpptjqolyxjhaoxc")
    public suspend fun rollingDate(`value`: TemplateRollingDateConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.rollingDate = mapped
    }

    /**
     * @param argument The rolling date of the `DataTimeDefaultValues` . The date is determined from the dataset based on input expression.
     */
    @JvmName("ixjioemppejmtvfy")
    public suspend fun rollingDate(argument: suspend TemplateRollingDateConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped = TemplateRollingDateConfigurationArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.rollingDate = mapped
    }

    /**
     * @param value The static values of the `DataTimeDefaultValues` .
     */
    @JvmName("wakedxsbpfvhouqy")
    public suspend fun staticValues(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.staticValues = mapped
    }

    /**
     * @param values The static values of the `DataTimeDefaultValues` .
     */
    @JvmName("dgmscqrbgkikogkj")
    public suspend fun staticValues(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.staticValues = mapped
    }

    internal fun build(): TemplateDateTimeDefaultValuesArgs = TemplateDateTimeDefaultValuesArgs(
        dynamicValue = dynamicValue,
        rollingDate = rollingDate,
        staticValues = staticValues,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy