Interface CfnTemplate.KPIOptionsProperty

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

@Stability(Stable) public static interface CfnTemplate.KPIOptionsProperty extends software.amazon.jsii.JsiiSerializable
The options that determine the presentation of a KPI visual.

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.*;
 KPIOptionsProperty kPIOptionsProperty = KPIOptionsProperty.builder()
         .comparison(ComparisonConfigurationProperty.builder()
                 .comparisonFormat(ComparisonFormatConfigurationProperty.builder()
                         .numberDisplayFormatConfiguration(NumberDisplayFormatConfigurationProperty.builder()
                                 .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
                                         .decimalPlaces(123)
                                         .build())
                                 .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
                                         .displayMode("displayMode")
                                         .build())
                                 .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
                                         .nullString("nullString")
                                         .build())
                                 .numberScale("numberScale")
                                 .prefix("prefix")
                                 .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
                                         .decimalSeparator("decimalSeparator")
                                         .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
                                                 .symbol("symbol")
                                                 .visibility("visibility")
                                                 .build())
                                         .build())
                                 .suffix("suffix")
                                 .build())
                         .percentageDisplayFormatConfiguration(PercentageDisplayFormatConfigurationProperty.builder()
                                 .decimalPlacesConfiguration(DecimalPlacesConfigurationProperty.builder()
                                         .decimalPlaces(123)
                                         .build())
                                 .negativeValueConfiguration(NegativeValueConfigurationProperty.builder()
                                         .displayMode("displayMode")
                                         .build())
                                 .nullValueFormatConfiguration(NullValueFormatConfigurationProperty.builder()
                                         .nullString("nullString")
                                         .build())
                                 .prefix("prefix")
                                 .separatorConfiguration(NumericSeparatorConfigurationProperty.builder()
                                         .decimalSeparator("decimalSeparator")
                                         .thousandsSeparator(ThousandSeparatorOptionsProperty.builder()
                                                 .symbol("symbol")
                                                 .visibility("visibility")
                                                 .build())
                                         .build())
                                 .suffix("suffix")
                                 .build())
                         .build())
                 .comparisonMethod("comparisonMethod")
                 .build())
         .primaryValueDisplayType("primaryValueDisplayType")
         .primaryValueFontConfiguration(FontConfigurationProperty.builder()
                 .fontColor("fontColor")
                 .fontDecoration("fontDecoration")
                 .fontSize(FontSizeProperty.builder()
                         .relative("relative")
                         .build())
                 .fontStyle("fontStyle")
                 .fontWeight(FontWeightProperty.builder()
                         .name("name")
                         .build())
                 .build())
         .progressBar(ProgressBarOptionsProperty.builder()
                 .visibility("visibility")
                 .build())
         .secondaryValue(SecondaryValueOptionsProperty.builder()
                 .visibility("visibility")
                 .build())
         .secondaryValueFontConfiguration(FontConfigurationProperty.builder()
                 .fontColor("fontColor")
                 .fontDecoration("fontDecoration")
                 .fontSize(FontSizeProperty.builder()
                         .relative("relative")
                         .build())
                 .fontStyle("fontStyle")
                 .fontWeight(FontWeightProperty.builder()
                         .name("name")
                         .build())
                 .build())
         .trendArrows(TrendArrowOptionsProperty.builder()
                 .visibility("visibility")
                 .build())
         .build();
 
  • Method Details

    • getComparison

      @Stability(Stable) @Nullable default Object getComparison()
      The comparison configuration of a KPI visual.
    • getPrimaryValueDisplayType

      @Stability(Stable) @Nullable default String getPrimaryValueDisplayType()
      The options that determine the primary value display type.
    • getPrimaryValueFontConfiguration

      @Stability(Stable) @Nullable default Object getPrimaryValueFontConfiguration()
      The options that determine the primary value font configuration.
    • getProgressBar

      @Stability(Stable) @Nullable default Object getProgressBar()
      The options that determine the presentation of the progress bar of a KPI visual.
    • getSecondaryValue

      @Stability(Stable) @Nullable default Object getSecondaryValue()
      The options that determine the presentation of the secondary value of a KPI visual.
    • getSecondaryValueFontConfiguration

      @Stability(Stable) @Nullable default Object getSecondaryValueFontConfiguration()
      The options that determine the secondary value font configuration.
    • getTrendArrows

      @Stability(Stable) @Nullable default Object getTrendArrows()
      The options that determine the presentation of trend arrows in a KPI visual.
    • builder

      @Stability(Stable) static CfnTemplate.KPIOptionsProperty.Builder builder()
      Returns:
      a CfnTemplate.KPIOptionsProperty.Builder of CfnTemplate.KPIOptionsProperty