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

com.pulumi.awsnative.quicksight.kotlin.outputs.TopicColumn.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.quicksight.kotlin.outputs

import com.pulumi.awsnative.quicksight.kotlin.enums.TopicAuthorSpecifiedAggregation
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicColumnDataRole
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicDefaultAggregation
import com.pulumi.awsnative.quicksight.kotlin.enums.TopicTimeGranularity
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property aggregation The type of aggregation that is performed on the column data when it's queried.
 * @property allowedAggregations The list of aggregation types that are allowed for the column. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` .
 * @property cellValueSynonyms The other names or aliases for the column cell value.
 * @property columnDataRole The role of the column in the data. Valid values are `DIMENSION` and `MEASURE` .
 * @property columnDescription A description of the column and its contents.
 * @property columnFriendlyName A user-friendly name for the column.
 * @property columnName The name of the column.
 * @property columnSynonyms The other names or aliases for the column.
 * @property comparativeOrder The order in which data is displayed for the column when it's used in a comparative context.
 * @property defaultFormatting The default formatting used for values in the column.
 * @property disableIndexing A Boolean value that indicates whether the column shows in the autocomplete functionality.
 * @property isIncludedInTopic A Boolean value that indicates whether the column is included in the query results.
 * @property neverAggregateInFilter A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.
 * @property nonAdditive The non additive value for the column.
 * @property notAllowedAggregations The list of aggregation types that are not allowed for the column. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` .
 * @property semanticType The semantic type of data contained in the column.
 * @property timeGranularity The level of time precision that is used to aggregate `DateTime` values.
 */
public data class TopicColumn(
    public val aggregation: TopicDefaultAggregation? = null,
    public val allowedAggregations: List? = null,
    public val cellValueSynonyms: List? = null,
    public val columnDataRole: TopicColumnDataRole? = null,
    public val columnDescription: String? = null,
    public val columnFriendlyName: String? = null,
    public val columnName: String,
    public val columnSynonyms: List? = null,
    public val comparativeOrder: TopicComparativeOrder? = null,
    public val defaultFormatting: TopicDefaultFormatting? = null,
    public val disableIndexing: Boolean? = null,
    public val isIncludedInTopic: Boolean? = null,
    public val neverAggregateInFilter: Boolean? = null,
    public val nonAdditive: Boolean? = null,
    public val notAllowedAggregations: List? = null,
    public val semanticType: TopicSemanticType? = null,
    public val timeGranularity: TopicTimeGranularity? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.quicksight.outputs.TopicColumn): TopicColumn = TopicColumn(
            aggregation = javaType.aggregation().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicDefaultAggregation.Companion.toKotlin(args0)
                })
            }).orElse(null),
            allowedAggregations = javaType.allowedAggregations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicAuthorSpecifiedAggregation.Companion.toKotlin(args0)
                })
            }),
            cellValueSynonyms = javaType.cellValueSynonyms().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TopicCellValueSynonym.Companion.toKotlin(args0)
                })
            }),
            columnDataRole = javaType.columnDataRole().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicColumnDataRole.Companion.toKotlin(args0)
                })
            }).orElse(null),
            columnDescription = javaType.columnDescription().map({ args0 -> args0 }).orElse(null),
            columnFriendlyName = javaType.columnFriendlyName().map({ args0 -> args0 }).orElse(null),
            columnName = javaType.columnName(),
            columnSynonyms = javaType.columnSynonyms().map({ args0 -> args0 }),
            comparativeOrder = javaType.comparativeOrder().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TopicComparativeOrder.Companion.toKotlin(args0)
                })
            }).orElse(null),
            defaultFormatting = javaType.defaultFormatting().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TopicDefaultFormatting.Companion.toKotlin(args0)
                })
            }).orElse(null),
            disableIndexing = javaType.disableIndexing().map({ args0 -> args0 }).orElse(null),
            isIncludedInTopic = javaType.isIncludedInTopic().map({ args0 -> args0 }).orElse(null),
            neverAggregateInFilter = javaType.neverAggregateInFilter().map({ args0 -> args0 }).orElse(null),
            nonAdditive = javaType.nonAdditive().map({ args0 -> args0 }).orElse(null),
            notAllowedAggregations = javaType.notAllowedAggregations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicAuthorSpecifiedAggregation.Companion.toKotlin(args0)
                })
            }),
            semanticType = javaType.semanticType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.outputs.TopicSemanticType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            timeGranularity = javaType.timeGranularity().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.quicksight.kotlin.enums.TopicTimeGranularity.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy