com.pulumi.awsnative.quicksight.kotlin.outputs.TopicComparativeOrder.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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),
)
}
}