Interface CfnTopic.TopicCalculatedFieldProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTopic.TopicCalculatedFieldProperty.Jsii$Proxy
- Enclosing class:
CfnTopic
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())
.disableIndexing(false)
.isIncludedInTopic(false)
.neverAggregateInFilter(false)
.nonAdditive(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();
- See Also:
-
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.default ObjectA Boolean value that indicates if a calculated field is visible in the autocomplete.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.default ObjectThe non additive for the table style target.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.- See Also:
-
getExpression
The calculated field expression.- See Also:
-
getAggregation
The default aggregation.Valid values for this structure are
SUM,MAX,MIN,COUNT,DISTINCT_COUNT, andAVERAGE.- See Also:
-
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.- See Also:
-
getCalculatedFieldDescription
The calculated field description.- See Also:
-
getCalculatedFieldSynonyms
The other names or aliases for the calculated field.- See Also:
-
getCellValueSynonyms
The other names or aliases for the calculated field cell value.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTopic.CellValueSynonymProperty>- See Also:
-
getColumnDataRole
The column data role for a calculated field.Valid values for this structure are
DIMENSIONandMEASURE.- See Also:
-
getComparativeOrder
The order in which data is displayed for the calculated field when it's used in a comparative context.Returns union: either
IResolvableorCfnTopic.ComparativeOrderProperty- See Also:
-
getDefaultFormatting
The default formatting definition.Returns union: either
IResolvableorCfnTopic.DefaultFormattingProperty- See Also:
-
getDisableIndexing
A Boolean value that indicates if a calculated field is visible in the autocomplete.Returns union: either
BooleanorIResolvable- See Also:
-
getIsIncludedInTopic
A boolean value that indicates if a calculated field is included in the topic.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getNeverAggregateInFilter
A Boolean value that indicates whether to never aggregate calculated field in filters.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getNonAdditive
The non additive for the table style target.Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
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.- See Also:
-
getSemanticType
The semantic type.Returns union: either
IResolvableorCfnTopic.SemanticTypeProperty- See Also:
-
getTimeGranularity
The level of time precision that is used to aggregateDateTimevalues.- See Also:
-
builder
-