Interface CfnDashboard.SubtotalOptionsProperty

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

@Stability(Stable) public static interface CfnDashboard.SubtotalOptionsProperty extends software.amazon.jsii.JsiiSerializable
The subtotal options.

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.*;
 SubtotalOptionsProperty subtotalOptionsProperty = SubtotalOptionsProperty.builder()
         .customLabel("customLabel")
         .fieldLevel("fieldLevel")
         .fieldLevelOptions(List.of(PivotTableFieldSubtotalOptionsProperty.builder()
                 .fieldId("fieldId")
                 .build()))
         .metricHeaderCellStyle(TableCellStyleProperty.builder()
                 .backgroundColor("backgroundColor")
                 .border(GlobalTableBorderOptionsProperty.builder()
                         .sideSpecificBorder(TableSideBorderOptionsProperty.builder()
                                 .bottom(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .innerHorizontal(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .innerVertical(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .left(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .right(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .top(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .build())
                         .uniformBorder(TableBorderOptionsProperty.builder()
                                 .color("color")
                                 .style("style")
                                 .thickness(123)
                                 .build())
                         .build())
                 .fontConfiguration(FontConfigurationProperty.builder()
                         .fontColor("fontColor")
                         .fontDecoration("fontDecoration")
                         .fontSize(FontSizeProperty.builder()
                                 .relative("relative")
                                 .build())
                         .fontStyle("fontStyle")
                         .fontWeight(FontWeightProperty.builder()
                                 .name("name")
                                 .build())
                         .build())
                 .height(123)
                 .horizontalTextAlignment("horizontalTextAlignment")
                 .textWrap("textWrap")
                 .verticalTextAlignment("verticalTextAlignment")
                 .visibility("visibility")
                 .build())
         .totalCellStyle(TableCellStyleProperty.builder()
                 .backgroundColor("backgroundColor")
                 .border(GlobalTableBorderOptionsProperty.builder()
                         .sideSpecificBorder(TableSideBorderOptionsProperty.builder()
                                 .bottom(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .innerHorizontal(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .innerVertical(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .left(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .right(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .top(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .build())
                         .uniformBorder(TableBorderOptionsProperty.builder()
                                 .color("color")
                                 .style("style")
                                 .thickness(123)
                                 .build())
                         .build())
                 .fontConfiguration(FontConfigurationProperty.builder()
                         .fontColor("fontColor")
                         .fontDecoration("fontDecoration")
                         .fontSize(FontSizeProperty.builder()
                                 .relative("relative")
                                 .build())
                         .fontStyle("fontStyle")
                         .fontWeight(FontWeightProperty.builder()
                                 .name("name")
                                 .build())
                         .build())
                 .height(123)
                 .horizontalTextAlignment("horizontalTextAlignment")
                 .textWrap("textWrap")
                 .verticalTextAlignment("verticalTextAlignment")
                 .visibility("visibility")
                 .build())
         .totalsVisibility("totalsVisibility")
         .valueCellStyle(TableCellStyleProperty.builder()
                 .backgroundColor("backgroundColor")
                 .border(GlobalTableBorderOptionsProperty.builder()
                         .sideSpecificBorder(TableSideBorderOptionsProperty.builder()
                                 .bottom(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .innerHorizontal(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .innerVertical(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .left(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .right(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .top(TableBorderOptionsProperty.builder()
                                         .color("color")
                                         .style("style")
                                         .thickness(123)
                                         .build())
                                 .build())
                         .uniformBorder(TableBorderOptionsProperty.builder()
                                 .color("color")
                                 .style("style")
                                 .thickness(123)
                                 .build())
                         .build())
                 .fontConfiguration(FontConfigurationProperty.builder()
                         .fontColor("fontColor")
                         .fontDecoration("fontDecoration")
                         .fontSize(FontSizeProperty.builder()
                                 .relative("relative")
                                 .build())
                         .fontStyle("fontStyle")
                         .fontWeight(FontWeightProperty.builder()
                                 .name("name")
                                 .build())
                         .build())
                 .height(123)
                 .horizontalTextAlignment("horizontalTextAlignment")
                 .textWrap("textWrap")
                 .verticalTextAlignment("verticalTextAlignment")
                 .visibility("visibility")
                 .build())
         .build();
 
  • Method Details

    • getCustomLabel

      @Stability(Stable) @Nullable default String getCustomLabel()
      The custom label string for the subtotal cells.
    • getFieldLevel

      @Stability(Stable) @Nullable default String getFieldLevel()
      The field level (all, custom, last) for the subtotal cells.
    • getFieldLevelOptions

      @Stability(Stable) @Nullable default Object getFieldLevelOptions()
      The optional configuration of subtotal cells.
    • getMetricHeaderCellStyle

      @Stability(Stable) @Nullable default Object getMetricHeaderCellStyle()
      The cell styling options for the subtotals of header cells.
    • getTotalCellStyle

      @Stability(Stable) @Nullable default Object getTotalCellStyle()
      The cell styling options for the subtotal cells.
    • getTotalsVisibility

      @Stability(Stable) @Nullable default String getTotalsVisibility()
      The visibility configuration for the subtotal cells.
    • getValueCellStyle

      @Stability(Stable) @Nullable default Object getValueCellStyle()
      The cell styling options for the subtotals of value cells.
    • builder

      @Stability(Stable) static CfnDashboard.SubtotalOptionsProperty.Builder builder()
      Returns:
      a CfnDashboard.SubtotalOptionsProperty.Builder of CfnDashboard.SubtotalOptionsProperty