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

com.pulumi.awsnative.quicksight.kotlin.outputs.TopicComparativeOrder.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.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TopicColumnOrderingType
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicUndefinedSpecifiedValueType
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 TopicComparativeOrder(
    public val specifedOrder: List? = null,
    public val treatUndefinedSpecifiedValues: TopicUndefinedSpecifiedValueType? = null,
    public val useOrdering: TopicColumnOrderingType? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TopicComparativeOrder): TopicComparativeOrder = TopicComparativeOrder(
            specifedOrder = javaType.specifedOrder().map({ args0 -> args0 }),
            treatUndefinedSpecifiedValues = javaType.treatUndefinedSpecifiedValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicUndefinedSpecifiedValueType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            useOrdering = javaType.useOrdering().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicColumnOrderingType.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy