Interface CfnTopic.TopicColumnProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopic.TopicColumnProperty.Jsii$Proxy
Enclosing class:
CfnTopic

@Stability(Stable) public static interface CfnTopic.TopicColumnProperty extends software.amazon.jsii.JsiiSerializable
Represents a column in a dataset.

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.*;
 TopicColumnProperty topicColumnProperty = TopicColumnProperty.builder()
         .columnName("columnName")
         // the properties below are optional
         .aggregation("aggregation")
         .allowedAggregations(List.of("allowedAggregations"))
         .cellValueSynonyms(List.of(CellValueSynonymProperty.builder()
                 .cellValue("cellValue")
                 .synonyms(List.of("synonyms"))
                 .build()))
         .columnDataRole("columnDataRole")
         .columnDescription("columnDescription")
         .columnFriendlyName("columnFriendlyName")
         .columnSynonyms(List.of("columnSynonyms"))
         .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();
 
  • Method Details

    • getColumnName

      @Stability(Stable) @NotNull String getColumnName()
      The name of the column.
    • getAggregation

      @Stability(Stable) @Nullable default String getAggregation()
      The type of aggregation that is performed on the column data when it's queried.

      Valid values for this structure are SUM , MAX , MIN , COUNT , DISTINCT_COUNT , and AVERAGE .

    • getAllowedAggregations

      @Stability(Stable) @Nullable default List<String> getAllowedAggregations()
      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 .

    • getCellValueSynonyms

      @Stability(Stable) @Nullable default Object getCellValueSynonyms()
      The other names or aliases for the column cell value.
    • getColumnDataRole

      @Stability(Stable) @Nullable default String getColumnDataRole()
      The role of the column in the data.

      Valid values are DIMENSION and MEASURE .

    • getColumnDescription

      @Stability(Stable) @Nullable default String getColumnDescription()
      A description of the column and its contents.
    • getColumnFriendlyName

      @Stability(Stable) @Nullable default String getColumnFriendlyName()
      A user-friendly name for the column.
    • getColumnSynonyms

      @Stability(Stable) @Nullable default List<String> getColumnSynonyms()
      The other names or aliases for the column.
    • getComparativeOrder

      @Stability(Stable) @Nullable default Object getComparativeOrder()
      The order in which data is displayed for the column when it's used in a comparative context.
    • getDefaultFormatting

      @Stability(Stable) @Nullable default Object getDefaultFormatting()
      The default formatting used for values in the column.
    • getIsIncludedInTopic

      @Stability(Stable) @Nullable default Object getIsIncludedInTopic()
      A Boolean value that indicates whether the column is included in the query results.
    • getNeverAggregateInFilter

      @Stability(Stable) @Nullable default Object getNeverAggregateInFilter()
      A Boolean value that indicates whether to aggregate the column data when it's used in a filter context.
    • getNotAllowedAggregations

      @Stability(Stable) @Nullable default List<String> getNotAllowedAggregations()
      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 .

    • getSemanticType

      @Stability(Stable) @Nullable default Object getSemanticType()
      The semantic type of data contained in the column.
    • getTimeGranularity

      @Stability(Stable) @Nullable default String getTimeGranularity()
      The level of time precision that is used to aggregate DateTime values.
    • builder

      @Stability(Stable) static CfnTopic.TopicColumnProperty.Builder builder()
      Returns:
      a CfnTopic.TopicColumnProperty.Builder of CfnTopic.TopicColumnProperty