Interface CfnAnalysis.KPIProgressBarConditionalFormattingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.KPIProgressBarConditionalFormattingProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.KPIProgressBarConditionalFormattingProperty
extends software.amazon.jsii.JsiiSerializable
The conditional formatting for the progress bar 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.*;
KPIProgressBarConditionalFormattingProperty kPIProgressBarConditionalFormattingProperty = KPIProgressBarConditionalFormattingProperty.builder()
.foregroundColor(ConditionalFormattingColorProperty.builder()
.gradient(ConditionalFormattingGradientColorProperty.builder()
.color(GradientColorProperty.builder()
.stops(List.of(GradientStopProperty.builder()
.gradientOffset(123)
// the properties below are optional
.color("color")
.dataValue(123)
.build()))
.build())
.expression("expression")
.build())
.solid(ConditionalFormattingSolidColorProperty.builder()
.expression("expression")
// the properties below are optional
.color("color")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalysis.KPIProgressBarConditionalFormattingPropertystatic final classAn implementation forCfnAnalysis.KPIProgressBarConditionalFormattingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getForegroundColor
The conditional formatting of the progress bar's foreground color.Returns union: either
IResolvableorCfnAnalysis.ConditionalFormattingColorProperty- See Also:
-
builder
-