Interface CfnTemplate.TableRowConditionalFormattingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.TableRowConditionalFormattingProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.TableRowConditionalFormattingProperty
extends software.amazon.jsii.JsiiSerializable
The conditional formatting of a table row.
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.*;
TableRowConditionalFormattingProperty tableRowConditionalFormattingProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.TableRowConditionalFormattingPropertystatic final classAn implementation forCfnTemplate.TableRowConditionalFormattingProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBackgroundColor
The conditional formatting color (solid, gradient) of the background for a table row.Returns union: either
IResolvableorCfnTemplate.ConditionalFormattingColorProperty- See Also:
-
getTextColor
The conditional formatting color (solid, gradient) of the text for a table row.Returns union: either
IResolvableorCfnTemplate.ConditionalFormattingColorProperty- See Also:
-
builder
-