Interface CfnTemplate.PivotTableCellConditionalFormattingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.PivotTableCellConditionalFormattingProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.PivotTableCellConditionalFormattingProperty
extends software.amazon.jsii.JsiiSerializable
The cell conditional formatting option for a pivot table.
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.*;
PivotTableCellConditionalFormattingProperty pivotTableCellConditionalFormattingProperty = PivotTableCellConditionalFormattingProperty.builder()
.fieldId("fieldId")
// the properties below are optional
.scope(PivotTableConditionalFormattingScopeProperty.builder()
.role("role")
.build())
.scopes(List.of(PivotTableConditionalFormattingScopeProperty.builder()
.role("role")
.build()))
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.PivotTableCellConditionalFormattingPropertystatic final classAn implementation forCfnTemplate.PivotTableCellConditionalFormattingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The field ID of the cell for conditional formatting.default ObjectgetScope()The scope of the cell for conditional formatting.default ObjectA list of cell scopes for conditional formatting.default ObjectThe text format of the cell for conditional formatting.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldId
The field ID of the cell for conditional formatting.- See Also:
-
getScope
The scope of the cell for conditional formatting.Returns union: either
IResolvableorCfnTemplate.PivotTableConditionalFormattingScopeProperty- See Also:
-
getScopes
A list of cell scopes for conditional formatting.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.PivotTableConditionalFormattingScopeProperty>- See Also:
-
getTextFormat
The text format of the cell for conditional formatting.Returns union: either
IResolvableorCfnTemplate.TextConditionalFormatProperty- See Also:
-
builder
-