Class CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.PivotTableCellConditionalFormattingProperty>
- Enclosing interface:
CfnAnalysis.PivotTableCellConditionalFormattingProperty
@Stability(Stable)
public static final class CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.PivotTableCellConditionalFormattingProperty>
A builder for
CfnAnalysis.PivotTableCellConditionalFormattingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getFieldId()scope(IResolvable scope) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScope()Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScope()Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScopes()scopes(IResolvable scopes) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScopes()textFormat(IResolvable textFormat) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getTextFormat()textFormat(CfnAnalysis.TextConditionalFormatProperty textFormat) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getTextFormat()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder fieldId(String fieldId) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getFieldId()- Parameters:
fieldId- The field ID of the cell for conditional formatting. This parameter is required.- Returns:
this
-
scope
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder scope(IResolvable scope) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScope()- Parameters:
scope- The scope of the cell for conditional formatting.- Returns:
this
-
scope
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder scope(CfnAnalysis.PivotTableConditionalFormattingScopeProperty scope) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScope()- Parameters:
scope- The scope of the cell for conditional formatting.- Returns:
this
-
scopes
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder scopes(IResolvable scopes) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScopes()- Parameters:
scopes- A list of cell scopes for conditional formatting.- Returns:
this
-
scopes
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder scopes(List<? extends Object> scopes) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getScopes()- Parameters:
scopes- A list of cell scopes for conditional formatting.- Returns:
this
-
textFormat
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder textFormat(IResolvable textFormat) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getTextFormat()- Parameters:
textFormat- The text format of the cell for conditional formatting.- Returns:
this
-
textFormat
@Stability(Stable) public CfnAnalysis.PivotTableCellConditionalFormattingProperty.Builder textFormat(CfnAnalysis.TextConditionalFormatProperty textFormat) Sets the value ofCfnAnalysis.PivotTableCellConditionalFormattingProperty.getTextFormat()- Parameters:
textFormat- The text format of the cell for conditional formatting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.PivotTableCellConditionalFormattingProperty>- Returns:
- a new instance of
CfnAnalysis.PivotTableCellConditionalFormattingProperty - Throws:
NullPointerException- if any required attribute was not provided
-