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

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

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

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

import com.pulumi.awsnative.quicksight.inputs.TopicComparativeOrderArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicColumnOrderingType
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicUndefinedSpecifiedValueType
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.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property specifedOrder The list of columns to be used in the ordering.
 * @property treatUndefinedSpecifiedValues The treat of undefined specified values. Valid values for this structure are `LEAST` and `MOST` .
 * @property useOrdering The ordering type for a column. Valid values for this structure are `GREATER_IS_BETTER` , `LESSER_IS_BETTER` and `SPECIFIED` .
 */
public data class TopicComparativeOrderArgs(
    public val specifedOrder: Output>? = null,
    public val treatUndefinedSpecifiedValues: Output? = null,
    public val useOrdering: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TopicComparativeOrderArgs =
        com.pulumi.awsnative.quicksight.inputs.TopicComparativeOrderArgs.builder()
            .specifedOrder(specifedOrder?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .treatUndefinedSpecifiedValues(
                treatUndefinedSpecifiedValues?.applyValue({ args0 ->
                    args0.let({ args0 -> args0.toJava() })
                }),
            )
            .useOrdering(useOrdering?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [TopicComparativeOrderArgs].
 */
@PulumiTagMarker
public class TopicComparativeOrderArgsBuilder internal constructor() {
    private var specifedOrder: Output>? = null

    private var treatUndefinedSpecifiedValues: Output? = null

    private var useOrdering: Output? = null

    /**
     * @param value The list of columns to be used in the ordering.
     */
    @JvmName("fjmeafdycifptkrq")
    public suspend fun specifedOrder(`value`: Output>) {
        this.specifedOrder = value
    }

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

    /**
     * @param values The list of columns to be used in the ordering.
     */
    @JvmName("bewohxrfrrgsuoku")
    public suspend fun specifedOrder(values: List>) {
        this.specifedOrder = Output.all(values)
    }

    /**
     * @param value The treat of undefined specified values. Valid values for this structure are `LEAST` and `MOST` .
     */
    @JvmName("isyihhminackqijj")
    public suspend fun treatUndefinedSpecifiedValues(`value`: Output) {
        this.treatUndefinedSpecifiedValues = value
    }

    /**
     * @param value The ordering type for a column. Valid values for this structure are `GREATER_IS_BETTER` , `LESSER_IS_BETTER` and `SPECIFIED` .
     */
    @JvmName("dkwrvtmqlpxpnjtx")
    public suspend fun useOrdering(`value`: Output) {
        this.useOrdering = value
    }

    /**
     * @param value The list of columns to be used in the ordering.
     */
    @JvmName("uobwphjsnrpbubvf")
    public suspend fun specifedOrder(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.specifedOrder = mapped
    }

    /**
     * @param values The list of columns to be used in the ordering.
     */
    @JvmName("mxtlxyvtmdojidya")
    public suspend fun specifedOrder(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.specifedOrder = mapped
    }

    /**
     * @param value The treat of undefined specified values. Valid values for this structure are `LEAST` and `MOST` .
     */
    @JvmName("gupghiqntogponuj")
    public suspend fun treatUndefinedSpecifiedValues(`value`: TopicUndefinedSpecifiedValueType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.treatUndefinedSpecifiedValues = mapped
    }

    /**
     * @param value The ordering type for a column. Valid values for this structure are `GREATER_IS_BETTER` , `LESSER_IS_BETTER` and `SPECIFIED` .
     */
    @JvmName("ehphvkunegqfltsy")
    public suspend fun useOrdering(`value`: TopicColumnOrderingType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.useOrdering = mapped
    }

    internal fun build(): TopicComparativeOrderArgs = TopicComparativeOrderArgs(
        specifedOrder = specifedOrder,
        treatUndefinedSpecifiedValues = treatUndefinedSpecifiedValues,
        useOrdering = useOrdering,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy