Interface CfnTopic.TopicCalculatedFieldProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopic.TopicCalculatedFieldProperty.Jsii$Proxy
- Enclosing class:
- CfnTopic
@Stability(Stable)
public static interface CfnTopic.TopicCalculatedFieldProperty
extends software.amazon.jsii.JsiiSerializable
A structure that represents a calculated field.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
TopicCalculatedFieldProperty topicCalculatedFieldProperty = TopicCalculatedFieldProperty.builder()
.calculatedFieldName("calculatedFieldName")
.expression("expression")
// the properties below are optional
.aggregation("aggregation")
.allowedAggregations(List.of("allowedAggregations"))
.calculatedFieldDescription("calculatedFieldDescription")
.calculatedFieldSynonyms(List.of("calculatedFieldSynonyms"))
.cellValueSynonyms(List.of(CellValueSynonymProperty.builder()
.cellValue("cellValue")
.synonyms(List.of("synonyms"))
.build()))
.columnDataRole("columnDataRole")
.comparativeOrder(ComparativeOrderProperty.builder()
.specifedOrder(List.of("specifedOrder"))
.treatUndefinedSpecifiedValues("treatUndefinedSpecifiedValues")
.useOrdering("useOrdering")
.build())
.defaultFormatting(DefaultFormattingProperty.builder()
.displayFormat("displayFormat")
.displayFormatOptions(DisplayFormatOptionsProperty.builder()
.blankCellFormat("blankCellFormat")
.currencySymbol("currencySymbol")
.dateFormat("dateFormat")
.decimalSeparator("decimalSeparator")
.fractionDigits(123)
.groupingSeparator("groupingSeparator")
.negativeFormat(NegativeFormatProperty.builder()
.prefix("prefix")
.suffix("suffix")
.build())
.prefix("prefix")
.suffix("suffix")
.unitScaler("unitScaler")
.useBlankCellFormat(false)
.useGrouping(false)
.build())
.build())
.isIncludedInTopic(false)
.neverAggregateInFilter(false)
.notAllowedAggregations(List.of("notAllowedAggregations"))
.semanticType(SemanticTypeProperty.builder()
.falseyCellValue("falseyCellValue")
.falseyCellValueSynonyms(List.of("falseyCellValueSynonyms"))
.subTypeName("subTypeName")
.truthyCellValue("truthyCellValue")
.truthyCellValueSynonyms(List.of("truthyCellValueSynonyms"))
.typeName("typeName")
.typeParameters(Map.of(
"typeParametersKey", "typeParameters"))
.build())
.timeGranularity("timeGranularity")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTopic.TopicCalculatedFieldPropertystatic final classAn implementation forCfnTopic.TopicCalculatedFieldProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe default aggregation.The list of aggregation types that are allowed for the calculated field.default StringThe calculated field description.The calculated field name.The other names or aliases for the calculated field.default ObjectThe other names or aliases for the calculated field cell value.default StringThe column data role for a calculated field.default ObjectThe order in which data is displayed for the calculated field when it's used in a comparative context.default ObjectThe default formatting definition.The calculated field expression.default ObjectA boolean value that indicates if a calculated field is included in the topic.default ObjectA Boolean value that indicates whether to never aggregate calculated field in filters.The list of aggregation types that are not allowed for the calculated field.default ObjectThe semantic type.default StringThe level of time precision that is used to aggregateDateTimevalues.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCalculatedFieldName
The calculated field name. -
getExpression
The calculated field expression. -
getAggregation
The default aggregation.Valid values for this structure are
SUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE. -
getAllowedAggregations
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, andPERCENTILE. -
getCalculatedFieldDescription
The calculated field description. -
getCalculatedFieldSynonyms
The other names or aliases for the calculated field. -
getCellValueSynonyms
The other names or aliases for the calculated field cell value. -
getColumnDataRole
The column data role for a calculated field.Valid values for this structure are
DIMENSIONandMEASURE. -
getComparativeOrder
The order in which data is displayed for the calculated field when it's used in a comparative context. -
getDefaultFormatting
The default formatting definition. -
getIsIncludedInTopic
A boolean value that indicates if a calculated field is included in the topic. -
getNeverAggregateInFilter
A Boolean value that indicates whether to never aggregate calculated field in filters. -
getNotAllowedAggregations
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, andPERCENTILE. -
getSemanticType
The semantic type. -
getTimeGranularity
The level of time precision that is used to aggregateDateTimevalues. -
builder
-