Interface CfnAnalysis.ColumnHierarchyProperty

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

@Stability(Stable) public static interface CfnAnalysis.ColumnHierarchyProperty extends software.amazon.jsii.JsiiSerializable
The option that determines the hierarchy of the fields for a visual element.

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.*;
 ColumnHierarchyProperty columnHierarchyProperty = ColumnHierarchyProperty.builder()
         .dateTimeHierarchy(DateTimeHierarchyProperty.builder()
                 .hierarchyId("hierarchyId")
                 // the properties below are optional
                 .drillDownFilters(List.of(DrillDownFilterProperty.builder()
                         .categoryFilter(CategoryDrillDownFilterProperty.builder()
                                 .categoryValues(List.of("categoryValues"))
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .build())
                         .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder()
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .value(123)
                                 .build())
                         .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder()
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .rangeMaximum("rangeMaximum")
                                 .rangeMinimum("rangeMinimum")
                                 .timeGranularity("timeGranularity")
                                 .build())
                         .build()))
                 .build())
         .explicitHierarchy(ExplicitHierarchyProperty.builder()
                 .columns(List.of(ColumnIdentifierProperty.builder()
                         .columnName("columnName")
                         .dataSetIdentifier("dataSetIdentifier")
                         .build()))
                 .hierarchyId("hierarchyId")
                 // the properties below are optional
                 .drillDownFilters(List.of(DrillDownFilterProperty.builder()
                         .categoryFilter(CategoryDrillDownFilterProperty.builder()
                                 .categoryValues(List.of("categoryValues"))
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .build())
                         .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder()
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .value(123)
                                 .build())
                         .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder()
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .rangeMaximum("rangeMaximum")
                                 .rangeMinimum("rangeMinimum")
                                 .timeGranularity("timeGranularity")
                                 .build())
                         .build()))
                 .build())
         .predefinedHierarchy(PredefinedHierarchyProperty.builder()
                 .columns(List.of(ColumnIdentifierProperty.builder()
                         .columnName("columnName")
                         .dataSetIdentifier("dataSetIdentifier")
                         .build()))
                 .hierarchyId("hierarchyId")
                 // the properties below are optional
                 .drillDownFilters(List.of(DrillDownFilterProperty.builder()
                         .categoryFilter(CategoryDrillDownFilterProperty.builder()
                                 .categoryValues(List.of("categoryValues"))
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .build())
                         .numericEqualityFilter(NumericEqualityDrillDownFilterProperty.builder()
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .value(123)
                                 .build())
                         .timeRangeFilter(TimeRangeDrillDownFilterProperty.builder()
                                 .column(ColumnIdentifierProperty.builder()
                                         .columnName("columnName")
                                         .dataSetIdentifier("dataSetIdentifier")
                                         .build())
                                 .rangeMaximum("rangeMaximum")
                                 .rangeMinimum("rangeMinimum")
                                 .timeGranularity("timeGranularity")
                                 .build())
                         .build()))
                 .build())
         .build();
 

See Also: