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()
.groupingStyle("groupingStyle")
.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()
.groupingStyle("groupingStyle")
.symbol("symbol")
.visibility("visibility")
.build())
.build())
.suffix("suffix")
.build())
.build())
.comparisonMethod("comparisonMethod")
.build())
.primaryValueDisplayType("primaryValueDisplayType")
.primaryValueFontConfiguration(FontConfigurationProperty.builder()
.fontColor("fontColor")
.fontDecoration("fontDecoration")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.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")
.fontFamily("fontFamily")
.fontSize(FontSizeProperty.builder()
.absolute("absolute")
.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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.KPIOptionsPropertystatic final classAn implementation forCfnTemplate.KPIOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe comparison configuration of a KPI visual.default StringThe options that determine the primary value display type.default ObjectThe options that determine the primary value font configuration.default ObjectThe options that determine the presentation of the progress bar of a KPI visual.default ObjectThe options that determine the presentation of the secondary value of a KPI visual.default ObjectThe options that determine the secondary value font configuration.default ObjectThe options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.default ObjectThe options that determine the presentation of trend arrows in a KPI visual.default ObjectThe options that determine the layout a KPI visual.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getComparison
The comparison configuration of a KPI visual.Returns union: either
IResolvableorCfnTemplate.ComparisonConfigurationProperty- See Also:
-
getPrimaryValueDisplayType
The options that determine the primary value display type.- See Also:
-
getPrimaryValueFontConfiguration
The options that determine the primary value font configuration.Returns union: either
IResolvableorCfnTemplate.FontConfigurationProperty- See Also:
-
getProgressBar
The options that determine the presentation of the progress bar of a KPI visual.Returns union: either
IResolvableorCfnTemplate.ProgressBarOptionsProperty- See Also:
-
getSecondaryValue
The options that determine the presentation of the secondary value of a KPI visual.Returns union: either
IResolvableorCfnTemplate.SecondaryValueOptionsProperty- See Also:
-
getSecondaryValueFontConfiguration
The options that determine the secondary value font configuration.Returns union: either
IResolvableorCfnTemplate.FontConfigurationProperty- See Also:
-
getSparkline
The options that determine the visibility, color, type, and tooltip visibility of the sparkline of a KPI visual.Returns union: either
IResolvableorCfnTemplate.KPISparklineOptionsProperty- See Also:
-
getTrendArrows
The options that determine the presentation of trend arrows in a KPI visual.Returns union: either
IResolvableorCfnTemplate.TrendArrowOptionsProperty- See Also:
-
getVisualLayoutOptions
The options that determine the layout a KPI visual.Returns union: either
IResolvableorCfnTemplate.KPIVisualLayoutOptionsProperty- See Also:
-
builder
-