Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.TopicCalculatedFieldArgs.builder
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 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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property aggregation The default aggregation. Valid values for this structure are `SUM` , `MAX` , `MIN` , `COUNT` , `DISTINCT_COUNT` , and `AVERAGE` .
* @property allowedAggregations The list of aggregation types that are allowed for the calculated field. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` .
* @property calculatedFieldDescription The calculated field description.
* @property calculatedFieldName The calculated field name.
* @property calculatedFieldSynonyms The other names or aliases for the calculated field.
* @property cellValueSynonyms The other names or aliases for the calculated field cell value.
* @property columnDataRole The column data role for a calculated field. Valid values for this structure are `DIMENSION` and `MEASURE` .
* @property comparativeOrder The order in which data is displayed for the calculated field when it's used in a comparative context.
* @property defaultFormatting The default formatting definition.
* @property disableIndexing A Boolean value that indicates if a calculated field is visible in the autocomplete.
* @property expression The calculated field expression.
* @property isIncludedInTopic A boolean value that indicates if a calculated field is included in the topic.
* @property neverAggregateInFilter A Boolean value that indicates whether to never aggregate calculated field in filters.
* @property nonAdditive The non additive for the table style target.
* @property notAllowedAggregations The list of aggregation types that are not allowed for the calculated field. 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.
* @property timeGranularity The level of time precision that is used to aggregate `DateTime` values.
*/
public data class TopicCalculatedFieldArgs(
public val aggregation: Output? = null,
public val allowedAggregations: Output>? = null,
public val calculatedFieldDescription: Output? = null,
public val calculatedFieldName: Output,
public val calculatedFieldSynonyms: Output>? = null,
public val cellValueSynonyms: Output>? = null,
public val columnDataRole: Output? = null,
public val comparativeOrder: Output? = null,
public val defaultFormatting: Output? = null,
public val disableIndexing: Output? = null,
public val expression: Output,
public val isIncludedInTopic: Output? = null,
public val neverAggregateInFilter: Output? = null,
public val nonAdditive: Output? = null,
public val notAllowedAggregations: Output>? = null,
public val semanticType: Output? = null,
public val timeGranularity: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.TopicCalculatedFieldArgs =
com.pulumi.awsnative.quicksight.inputs.TopicCalculatedFieldArgs.builder()
.aggregation(aggregation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.allowedAggregations(
allowedAggregations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.calculatedFieldDescription(calculatedFieldDescription?.applyValue({ args0 -> args0 }))
.calculatedFieldName(calculatedFieldName.applyValue({ args0 -> args0 }))
.calculatedFieldSynonyms(
calculatedFieldSynonyms?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
)
.cellValueSynonyms(
cellValueSynonyms?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.columnDataRole(columnDataRole?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.comparativeOrder(comparativeOrder?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.defaultFormatting(defaultFormatting?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.disableIndexing(disableIndexing?.applyValue({ args0 -> args0 }))
.expression(expression.applyValue({ args0 -> args0 }))
.isIncludedInTopic(isIncludedInTopic?.applyValue({ args0 -> args0 }))
.neverAggregateInFilter(neverAggregateInFilter?.applyValue({ args0 -> args0 }))
.nonAdditive(nonAdditive?.applyValue({ args0 -> args0 }))
.notAllowedAggregations(
notAllowedAggregations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.semanticType(semanticType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.timeGranularity(
timeGranularity?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [TopicCalculatedFieldArgs].
*/
@PulumiTagMarker
public class TopicCalculatedFieldArgsBuilder internal constructor() {
private var aggregation: Output? = null
private var allowedAggregations: Output>? = null
private var calculatedFieldDescription: Output? = null
private var calculatedFieldName: Output? = null
private var calculatedFieldSynonyms: Output>? = null
private var cellValueSynonyms: Output>? = null
private var columnDataRole: Output? = null
private var comparativeOrder: Output? = null
private var defaultFormatting: Output? = null
private var disableIndexing: Output? = null
private var expression: Output? = null
private var isIncludedInTopic: Output? = null
private var neverAggregateInFilter: Output? = null
private var nonAdditive: Output? = null
private var notAllowedAggregations: Output>? = null
private var semanticType: Output? = null
private var timeGranularity: Output? = null
/**
* @param value The default aggregation. Valid values for this structure are `SUM` , `MAX` , `MIN` , `COUNT` , `DISTINCT_COUNT` , and `AVERAGE` .
*/
@JvmName("yunnsxkdfebgacdx")
public suspend fun aggregation(`value`: Output) {
this.aggregation = value
}
/**
* @param value The list of aggregation types that are allowed for the calculated field. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` .
*/
@JvmName("gcjokxjhffpadxmk")
public suspend fun allowedAggregations(`value`: Output>) {
this.allowedAggregations = value
}
@JvmName("yentkguigkwdcmfv")
public suspend fun allowedAggregations(vararg values: Output) {
this.allowedAggregations = Output.all(values.asList())
}
/**
* @param values The list of aggregation types that are allowed for the calculated field. Valid values for this structure are `COUNT` , `DISTINCT_COUNT` , `MIN` , `MAX` , `MEDIAN` , `SUM` , `AVERAGE` , `STDEV` , `STDEVP` , `VAR` , `VARP` , and `PERCENTILE` .
*/
@JvmName("hksavjqedfltlnih")
public suspend fun allowedAggregations(values: List