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

com.pulumi.awsnative.quicksight.kotlin.inputs.AnalysisItemsLimitConfigurationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.inputs

import com.pulumi.awsnative.quicksight.inputs.AnalysisItemsLimitConfigurationArgs.builder
import com.pulumi.awsnative.quicksight.kotlin.enums.AnalysisOtherCategories
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 AnalysisItemsLimitConfigurationArgs(
    public val itemsLimit: Output? = null,
    public val otherCategories: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.quicksight.inputs.AnalysisItemsLimitConfigurationArgs = com.pulumi.awsnative.quicksight.inputs.AnalysisItemsLimitConfigurationArgs.builder()
        .itemsLimit(itemsLimit?.applyValue({ args0 -> args0 }))
        .otherCategories(
            otherCategories?.applyValue({ args0 ->
                args0.let({ args0 ->
                    args0.toJava()
                })
            }),
        ).build()
}

/**
 * Builder for [AnalysisItemsLimitConfigurationArgs].
 */
@PulumiTagMarker
public class AnalysisItemsLimitConfigurationArgsBuilder 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("yokfdcclqvyvomul")
    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("uvwqohbbpnnsfuda")
    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("wytihwrthbitgqrt")
    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("eychdxygwgexuwaa")
    public suspend fun otherCategories(`value`: AnalysisOtherCategories?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.otherCategories = mapped
    }

    internal fun build(): AnalysisItemsLimitConfigurationArgs = AnalysisItemsLimitConfigurationArgs(
        itemsLimit = itemsLimit,
        otherCategories = otherCategories,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy