Interface CfnAnalysis.TableConditionalFormattingProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnalysis.TableConditionalFormattingProperty.Jsii$Proxy
Enclosing class:
CfnAnalysis

@Stability(Stable) public static interface CfnAnalysis.TableConditionalFormattingProperty extends software.amazon.jsii.JsiiSerializable
The conditional formatting for a PivotTableVisual .

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.*;
 TableConditionalFormattingProperty tableConditionalFormattingProperty = TableConditionalFormattingProperty.builder()
         .conditionalFormattingOptions(List.of(TableConditionalFormattingOptionProperty.builder()
                 .cell(TableCellConditionalFormattingProperty.builder()
                         .fieldId("fieldId")
                         // the properties below are optional
                         .textFormat(TextConditionalFormatProperty.builder()
                                 .backgroundColor(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())
                                 .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())
                         .build())
                 .row(TableRowConditionalFormattingProperty.builder()
                         .backgroundColor(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())
                         .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())
                 .build()))
         .build();