Interface CfnTemplate.KPIPrimaryValueConditionalFormattingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.KPIPrimaryValueConditionalFormattingProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.KPIPrimaryValueConditionalFormattingProperty
extends software.amazon.jsii.JsiiSerializable
The conditional formatting for the primary value 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.*; KPIPrimaryValueConditionalFormattingProperty kPIPrimaryValueConditionalFormattingProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.KPIPrimaryValueConditionalFormattingProperty
static final class
An implementation forCfnTemplate.KPIPrimaryValueConditionalFormattingProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIcon
The conditional formatting of the primary value's icon.- See Also:
-
getTextColor
The conditional formatting of the primary value's text color.- See Also:
-
builder
@Stability(Stable) static CfnTemplate.KPIPrimaryValueConditionalFormattingProperty.Builder builder()
-