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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisDefaultDateTimePickerControlOptionsArgs.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.AnalysisDefaultDateTimePickerControlOptionsArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisSheetControlDateTimePickerType
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.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property displayOptions The display options of a control.
 * @property type The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options:
 * - `SINGLE_VALUED` : The filter condition is a fixed date.
 * - `DATE_RANGE` : The filter condition is a date time range.
 */
public data class AnalysisDefaultDateTimePickerControlOptionsArgs(
    public val displayOptions: Output? = null,
    public val type: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultDateTimePickerControlOptionsArgs =
        com.pulumi.awsnative.quicksight.inputs.AnalysisDefaultDateTimePickerControlOptionsArgs.builder()
            .displayOptions(displayOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [AnalysisDefaultDateTimePickerControlOptionsArgs].
 */
@PulumiTagMarker
public class AnalysisDefaultDateTimePickerControlOptionsArgsBuilder internal constructor() {
    private var displayOptions: Output? = null

    private var type: Output? = null

    /**
     * @param value The display options of a control.
     */
    @JvmName("jsqwwusqafefvcol")
    public suspend fun displayOptions(`value`: Output) {
        this.displayOptions = value
    }

    /**
     * @param value The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options:
     * - `SINGLE_VALUED` : The filter condition is a fixed date.
     * - `DATE_RANGE` : The filter condition is a date time range.
     */
    @JvmName("absiemybbnxhhgeq")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The display options of a control.
     */
    @JvmName("ncmvitwsrbsjydve")
    public suspend fun displayOptions(`value`: AnalysisDateTimePickerControlDisplayOptionsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.displayOptions = mapped
    }

    /**
     * @param argument The display options of a control.
     */
    @JvmName("rmsqwkflkhbyrhbo")
    public suspend fun displayOptions(argument: suspend AnalysisDateTimePickerControlDisplayOptionsArgsBuilder.() -> Unit) {
        val toBeMapped = AnalysisDateTimePickerControlDisplayOptionsArgsBuilder().applySuspend {
            argument()
        }.build()
        val mapped = of(toBeMapped)
        this.displayOptions = mapped
    }

    /**
     * @param value The date time picker type of the `DefaultDateTimePickerControlOptions` . Choose one of the following options:
     * - `SINGLE_VALUED` : The filter condition is a fixed date.
     * - `DATE_RANGE` : The filter condition is a date time range.
     */
    @JvmName("lfgasjfhjkyeqgue")
    public suspend fun type(`value`: AnalysisSheetControlDateTimePickerType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): AnalysisDefaultDateTimePickerControlOptionsArgs =
        AnalysisDefaultDateTimePickerControlOptionsArgs(
            displayOptions = displayOptions,
            type = type,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy