Interface CfnTopic.DatasetMetadataProperty

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

@Stability(Stable) public static interface CfnTopic.DatasetMetadataProperty extends software.amazon.jsii.JsiiSerializable
A structure that represents 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.*;
 DatasetMetadataProperty datasetMetadataProperty = DatasetMetadataProperty.builder()
         .datasetArn("datasetArn")
         // the properties below are optional
         .calculatedFields(List.of(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()))
         .columns(List.of(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()))
         .dataAggregation(DataAggregationProperty.builder()
                 .datasetRowDateGranularity("datasetRowDateGranularity")
                 .defaultDateColumnName("defaultDateColumnName")
                 .build())
         .datasetDescription("datasetDescription")
         .datasetName("datasetName")
         .filters(List.of(TopicFilterProperty.builder()
                 .filterName("filterName")
                 .operandFieldName("operandFieldName")
                 // the properties below are optional
                 .categoryFilter(TopicCategoryFilterProperty.builder()
                         .categoryFilterFunction("categoryFilterFunction")
                         .categoryFilterType("categoryFilterType")
                         .constant(TopicCategoryFilterConstantProperty.builder()
                                 .collectiveConstant(CollectiveConstantProperty.builder()
                                         .valueList(List.of("valueList"))
                                         .build())
                                 .constantType("constantType")
                                 .singularConstant("singularConstant")
                                 .build())
                         .inverse(false)
                         .build())
                 .dateRangeFilter(TopicDateRangeFilterProperty.builder()
                         .constant(TopicRangeFilterConstantProperty.builder()
                                 .constantType("constantType")
                                 .rangeConstant(RangeConstantProperty.builder()
                                         .maximum("maximum")
                                         .minimum("minimum")
                                         .build())
                                 .build())
                         .inclusive(false)
                         .build())
                 .filterClass("filterClass")
                 .filterDescription("filterDescription")
                 .filterSynonyms(List.of("filterSynonyms"))
                 .filterType("filterType")
                 .numericEqualityFilter(TopicNumericEqualityFilterProperty.builder()
                         .aggregation("aggregation")
                         .constant(TopicSingularFilterConstantProperty.builder()
                                 .constantType("constantType")
                                 .singularConstant("singularConstant")
                                 .build())
                         .build())
                 .numericRangeFilter(TopicNumericRangeFilterProperty.builder()
                         .aggregation("aggregation")
                         .constant(TopicRangeFilterConstantProperty.builder()
                                 .constantType("constantType")
                                 .rangeConstant(RangeConstantProperty.builder()
                                         .maximum("maximum")
                                         .minimum("minimum")
                                         .build())
                                 .build())
                         .inclusive(false)
                         .build())
                 .relativeDateFilter(TopicRelativeDateFilterProperty.builder()
                         .constant(TopicSingularFilterConstantProperty.builder()
                                 .constantType("constantType")
                                 .singularConstant("singularConstant")
                                 .build())
                         .relativeDateFilterFunction("relativeDateFilterFunction")
                         .timeGranularity("timeGranularity")
                         .build())
                 .build()))
         .namedEntities(List.of(TopicNamedEntityProperty.builder()
                 .entityName("entityName")
                 // the properties below are optional
                 .definition(List.of(NamedEntityDefinitionProperty.builder()
                         .fieldName("fieldName")
                         .metric(NamedEntityDefinitionMetricProperty.builder()
                                 .aggregation("aggregation")
                                 .aggregationFunctionParameters(Map.of(
                                         "aggregationFunctionParametersKey", "aggregationFunctionParameters"))
                                 .build())
                         .propertyName("propertyName")
                         .propertyRole("propertyRole")
                         .propertyUsage("propertyUsage")
                         .build()))
                 .entityDescription("entityDescription")
                 .entitySynonyms(List.of("entitySynonyms"))
                 .semanticEntityType(SemanticEntityTypeProperty.builder()
                         .subTypeName("subTypeName")
                         .typeName("typeName")
                         .typeParameters(Map.of(
                                 "typeParametersKey", "typeParameters"))
                         .build())
                 .build()))
         .build();
 
  • Method Details

    • getDatasetArn

      @Stability(Stable) @NotNull String getDatasetArn()
      The Amazon Resource Name (ARN) of the dataset.
    • getCalculatedFields

      @Stability(Stable) @Nullable default Object getCalculatedFields()
      The list of calculated field definitions.
    • getColumns

      @Stability(Stable) @Nullable default Object getColumns()
      The list of column definitions.
    • getDataAggregation

      @Stability(Stable) @Nullable default Object getDataAggregation()
      The definition of a data aggregation.
    • getDatasetDescription

      @Stability(Stable) @Nullable default String getDatasetDescription()
      The description of the dataset.
    • getDatasetName

      @Stability(Stable) @Nullable default String getDatasetName()
      The name of the dataset.
    • getFilters

      @Stability(Stable) @Nullable default Object getFilters()
      The list of filter definitions.
    • getNamedEntities

      @Stability(Stable) @Nullable default Object getNamedEntities()
      The list of named entities definitions.
    • builder

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