
com.pulumi.awsnative.quicksight.kotlin.inputs.TemplateItemsLimitConfigurationArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TemplateItemsLimitConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.TemplateOtherCategories
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property itemsLimit The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.
* @property otherCategories The `Show other` of an axis in the chart. Choose one of the following options:
* - `INCLUDE`
* - `EXCLUDE`
*/
public data class TemplateItemsLimitConfigurationArgs(
public val itemsLimit: Output? = null,
public val otherCategories: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TemplateItemsLimitConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.TemplateItemsLimitConfigurationArgs.builder()
.itemsLimit(itemsLimit?.applyValue({ args0 -> args0 }))
.otherCategories(
otherCategories?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TemplateItemsLimitConfigurationArgs].
*/
@PulumiTagMarker
public class TemplateItemsLimitConfigurationArgsBuilder internal constructor() {
private var itemsLimit: Output? = null
private var otherCategories: Output? = null
/**
* @param value The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.
*/
@JvmName("jqskaosjbbnqojwu")
public suspend fun itemsLimit(`value`: Output) {
this.itemsLimit = value
}
/**
* @param value The `Show other` of an axis in the chart. Choose one of the following options:
* - `INCLUDE`
* - `EXCLUDE`
*/
@JvmName("yfdyphderykmthlq")
public suspend fun otherCategories(`value`: Output) {
this.otherCategories = value
}
/**
* @param value The limit on how many items of a field are showed in the chart. For example, the number of slices that are displayed in a pie chart.
*/
@JvmName("kblnbenjhqdmtrud")
public suspend fun itemsLimit(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.itemsLimit = mapped
}
/**
* @param value The `Show other` of an axis in the chart. Choose one of the following options:
* - `INCLUDE`
* - `EXCLUDE`
*/
@JvmName("rexfinoffjcaamgq")
public suspend fun otherCategories(`value`: TemplateOtherCategories?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.otherCategories = mapped
}
internal fun build(): TemplateItemsLimitConfigurationArgs = TemplateItemsLimitConfigurationArgs(
itemsLimit = itemsLimit,
otherCategories = otherCategories,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy