Interface CfnAnalysis.KPIConditionalFormattingOptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.KPIConditionalFormattingOptionProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.KPIConditionalFormattingOptionProperty
extends software.amazon.jsii.JsiiSerializable
The conditional formatting options 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.*; KPIConditionalFormattingOptionProperty kPIConditionalFormattingOptionProperty = KPIConditionalFormattingOptionProperty.builder() .actualValue(KPIActualValueConditionalFormattingProperty.builder() .icon(ConditionalFormattingIconProperty.builder() .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() .expression("expression") .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() .icon("icon") .unicodeIcon("unicodeIcon") .build()) // the properties below are optional .color("color") .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() .iconDisplayOption("iconDisplayOption") .build()) .build()) .iconSet(ConditionalFormattingIconSetProperty.builder() .expression("expression") // the properties below are optional .iconSetType("iconSetType") .build()) .build()) .textColor(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()) .comparisonValue(KPIComparisonValueConditionalFormattingProperty.builder() .icon(ConditionalFormattingIconProperty.builder() .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() .expression("expression") .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() .icon("icon") .unicodeIcon("unicodeIcon") .build()) // the properties below are optional .color("color") .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() .iconDisplayOption("iconDisplayOption") .build()) .build()) .iconSet(ConditionalFormattingIconSetProperty.builder() .expression("expression") // the properties below are optional .iconSetType("iconSetType") .build()) .build()) .textColor(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()) .primaryValue(KPIPrimaryValueConditionalFormattingProperty.builder() .icon(ConditionalFormattingIconProperty.builder() .customCondition(ConditionalFormattingCustomIconConditionProperty.builder() .expression("expression") .iconOptions(ConditionalFormattingCustomIconOptionsProperty.builder() .icon("icon") .unicodeIcon("unicodeIcon") .build()) // the properties below are optional .color("color") .displayConfiguration(ConditionalFormattingIconDisplayConfigurationProperty.builder() .iconDisplayOption("iconDisplayOption") .build()) .build()) .iconSet(ConditionalFormattingIconSetProperty.builder() .expression("expression") // the properties below are optional .iconSetType("iconSetType") .build()) .build()) .textColor(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()) .progressBar(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()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAnalysis.KPIConditionalFormattingOptionProperty
static final class
An implementation forCfnAnalysis.KPIConditionalFormattingOptionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The conditional formatting for the actual value of a KPI visual.default Object
The conditional formatting for the comparison value of a KPI visual.default Object
The conditional formatting for the primary value of a KPI visual.default Object
The conditional formatting for the progress bar of a KPI visual.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActualValue
The conditional formatting for the actual value of a KPI visual.- See Also:
-
getComparisonValue
The conditional formatting for the comparison value of a KPI visual.- See Also:
-
getPrimaryValue
The conditional formatting for the primary value of a KPI visual.- See Also:
-
getProgressBar
The conditional formatting for the progress bar of a KPI visual.- See Also:
-
builder
-