
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateTopBottomMoversComputation.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.outputs
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTopBottomComputationType
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTopBottomSortOrder
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property category The category field that is used in a computation.
* @property computationId The ID for a computation.
* @property moverSize The mover size setup of the top and bottom movers computation.
* @property name The name of a computation.
* @property sortOrder The sort order setup of the top and bottom movers computation.
* @property time The time field that is used in a computation.
* @property type The computation type. Choose from the following options:
* - TOP: Top movers computation.
* - BOTTOM: Bottom movers computation.
* @property value The value field that is used in a computation.
*/
public data class TemplateTopBottomMoversComputation(
public val category: TemplateDimensionField? = null,
public val computationId: String,
public val moverSize: Double? = null,
public val name: String? = null,
public val sortOrder: TemplateTopBottomSortOrder? = null,
public val time: TemplateDimensionField? = null,
public val type: TemplateTopBottomComputationType,
public val `value`: TemplateMeasureField? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TemplateTopBottomMoversComputation): TemplateTopBottomMoversComputation = TemplateTopBottomMoversComputation(
category = javaType.category().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDimensionField.Companion.toKotlin(args0)
})
}).orElse(null),
computationId = javaType.computationId(),
moverSize = javaType.moverSize().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
sortOrder = javaType.sortOrder().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTopBottomSortOrder.Companion.toKotlin(args0)
})
}).orElse(null),
time = javaType.time().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateDimensionField.Companion.toKotlin(args0)
})
}).orElse(null),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTopBottomComputationType.Companion.toKotlin(args0)
}),
`value` = javaType.`value`().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.quicksight.kotlin.outputs.TemplateMeasureField.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy