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())
         .sparkline(KPISparklineOptionsProperty.builder()
                 .type("type")
                 // the properties below are optional
                 .color("color")
                 .tooltipVisibility("tooltipVisibility")
                 .visibility("visibility")
                 .build())
         .trendArrows(TrendArrowOptionsProperty.builder()
                 .visibility("visibility")
                 .build())
         .visualLayoutOptions(KPIVisualLayoutOptionsProperty.builder()
                 .standardLayout(KPIVisualStandardLayoutProperty.builder()
                         .type("type")
                         .build())
                 .build())
         .build();
 

See Also: