
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateTopBottomMoversComputationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateTopBottomMoversComputationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTopBottomComputationType
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateTopBottomSortOrder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @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 TemplateTopBottomMoversComputationArgs(
public val category: Output? = null,
public val computationId: Output,
public val moverSize: Output? = null,
public val name: Output? = null,
public val sortOrder: Output? = null,
public val time: Output? = null,
public val type: Output,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateTopBottomMoversComputationArgs =
com.pulumi.awsnative.quicksight.inputs.TemplateTopBottomMoversComputationArgs.builder()
.category(category?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.computationId(computationId.applyValue({ args0 -> args0 }))
.moverSize(moverSize?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.sortOrder(sortOrder?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.time(time?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.type(type.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.`value`(`value`?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TemplateTopBottomMoversComputationArgs].
*/
@PulumiTagMarker
public class TemplateTopBottomMoversComputationArgsBuilder internal constructor() {
private var category: Output? = null
private var computationId: Output? = null
private var moverSize: Output? = null
private var name: Output? = null
private var sortOrder: Output? = null
private var time: Output? = null
private var type: Output? = null
private var `value`: Output? = null
/**
* @param value The category field that is used in a computation.
*/
@JvmName("yijlwiuqxgjcynef")
public suspend fun category(`value`: Output) {
this.category = value
}
/**
* @param value The ID for a computation.
*/
@JvmName("qrqymtpqhabbnkpq")
public suspend fun computationId(`value`: Output) {
this.computationId = value
}
/**
* @param value The mover size setup of the top and bottom movers computation.
*/
@JvmName("fsqaigcmeosvoqdi")
public suspend fun moverSize(`value`: Output) {
this.moverSize = value
}
/**
* @param value The name of a computation.
*/
@JvmName("vbwtgsmkxlhtayyy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The sort order setup of the top and bottom movers computation.
*/
@JvmName("dkjohqiprrchhapv")
public suspend fun sortOrder(`value`: Output) {
this.sortOrder = value
}
/**
* @param value The time field that is used in a computation.
*/
@JvmName("kxpyjblrhrmxxahc")
public suspend fun time(`value`: Output) {
this.time = value
}
/**
* @param value The computation type. Choose from the following options:
* - TOP: Top movers computation.
* - BOTTOM: Bottom movers computation.
*/
@JvmName("uvhsiujrmlwyuofa")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value The value field that is used in a computation.
*/
@JvmName("odknuihqkprboyqt")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The category field that is used in a computation.
*/
@JvmName("giacqqddnsqsyubw")
public suspend fun category(`value`: TemplateDimensionFieldArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.category = mapped
}
/**
* @param argument The category field that is used in a computation.
*/
@JvmName("bdcqwycwxhrqoxij")
public suspend fun category(argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
val toBeMapped = TemplateDimensionFieldArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.category = mapped
}
/**
* @param value The ID for a computation.
*/
@JvmName("lyqixhryuglilhrj")
public suspend fun computationId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.computationId = mapped
}
/**
* @param value The mover size setup of the top and bottom movers computation.
*/
@JvmName("qjvowkxtxyvyxhdf")
public suspend fun moverSize(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.moverSize = mapped
}
/**
* @param value The name of a computation.
*/
@JvmName("xvtpmsynxyqfqxsi")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The sort order setup of the top and bottom movers computation.
*/
@JvmName("bxcuikwvclbfydtp")
public suspend fun sortOrder(`value`: TemplateTopBottomSortOrder?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sortOrder = mapped
}
/**
* @param value The time field that is used in a computation.
*/
@JvmName("natkinktcidbfilb")
public suspend fun time(`value`: TemplateDimensionFieldArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.time = mapped
}
/**
* @param argument The time field that is used in a computation.
*/
@JvmName("kfdkkyxqebhbrsuq")
public suspend fun time(argument: suspend TemplateDimensionFieldArgsBuilder.() -> Unit) {
val toBeMapped = TemplateDimensionFieldArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.time = mapped
}
/**
* @param value The computation type. Choose from the following options:
* - TOP: Top movers computation.
* - BOTTOM: Bottom movers computation.
*/
@JvmName("ahvspsmffsbhgita")
public suspend fun type(`value`: TemplateTopBottomComputationType) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value The value field that is used in a computation.
*/
@JvmName("klvphtcxyrxouhpb")
public suspend fun `value`(`value`: TemplateMeasureFieldArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
/**
* @param argument The value field that is used in a computation.
*/
@JvmName("hyccyoyybnbcqkwo")
public suspend fun `value`(argument: suspend TemplateMeasureFieldArgsBuilder.() -> Unit) {
val toBeMapped = TemplateMeasureFieldArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.`value` = mapped
}
internal fun build(): TemplateTopBottomMoversComputationArgs =
TemplateTopBottomMoversComputationArgs(
category = category,
computationId = computationId ?: throw PulumiNullFieldException("computationId"),
moverSize = moverSize,
name = name,
sortOrder = sortOrder,
time = time,
type = type ?: throw PulumiNullFieldException("type"),
`value` = `value`,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy