Interface CfnAnalysis.KPIOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.KPIOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.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 forCfnAnalysis.KPIOptionsPropertystatic final classAn implementation forCfnAnalysis.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
IResolvableorCfnAnalysis.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
IResolvableorCfnAnalysis.FontConfigurationProperty- See Also:
-
getProgressBar
The options that determine the presentation of the progress bar of a KPI visual.Returns union: either
IResolvableorCfnAnalysis.ProgressBarOptionsProperty- See Also:
-
getSecondaryValue
The options that determine the presentation of the secondary value of a KPI visual.Returns union: either
IResolvableorCfnAnalysis.SecondaryValueOptionsProperty- See Also:
-
getSecondaryValueFontConfiguration
The options that determine the secondary value font configuration.Returns union: either
IResolvableorCfnAnalysis.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
IResolvableorCfnAnalysis.KPISparklineOptionsProperty- See Also:
-
getTrendArrows
The options that determine the presentation of trend arrows in a KPI visual.Returns union: either
IResolvableorCfnAnalysis.TrendArrowOptionsProperty- See Also:
-
getVisualLayoutOptions
The options that determine the layout a KPI visual.Returns union: either
IResolvableorCfnAnalysis.KPIVisualLayoutOptionsProperty- See Also:
-
builder
-