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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.AnalysisAnchorDateConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisAnchorOption
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property anchorOption The options for the date configuration. Choose one of the options below:
 * - `NOW`
 * @property parameterName The name of the parameter that is used for the anchor date configuration.
 */
public data class AnalysisAnchorDateConfigurationArgs(
    public val anchorOption: Output? = null,
    public val parameterName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisAnchorDateConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.AnalysisAnchorDateConfigurationArgs.builder()
        .anchorOption(anchorOption?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
        .parameterName(parameterName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AnalysisAnchorDateConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisAnchorDateConfigurationArgsBuilder internal constructor() {
    private var anchorOption: Output? = null

    private var parameterName: Output? = null

    /**
     * @param value The options for the date configuration. Choose one of the options below:
     * - `NOW`
     */
    @JvmName("ydwcgdjbfjswmigy")
    public suspend fun anchorOption(`value`: Output) {
        this.anchorOption = value
    }

    /**
     * @param value The name of the parameter that is used for the anchor date configuration.
     */
    @JvmName("egleeyjkykhwbvgs")
    public suspend fun parameterName(`value`: Output) {
        this.parameterName = value
    }

    /**
     * @param value The options for the date configuration. Choose one of the options below:
     * - `NOW`
     */
    @JvmName("seratffvjeflvjad")
    public suspend fun anchorOption(`value`: AnalysisAnchorOption?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.anchorOption = mapped
    }

    /**
     * @param value The name of the parameter that is used for the anchor date configuration.
     */
    @JvmName("xkvujhewviougumf")
    public suspend fun parameterName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.parameterName = mapped
    }

    internal fun build(): AnalysisAnchorDateConfigurationArgs = AnalysisAnchorDateConfigurationArgs(
        anchorOption = anchorOption,
        parameterName = parameterName,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy