Class CfnDashboard.PivotTableConditionalFormattingScopeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.PivotTableConditionalFormattingScopeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.PivotTableConditionalFormattingScopeProperty>
- Enclosing interface:
CfnDashboard.PivotTableConditionalFormattingScopeProperty
@Stability(Stable)
public static final class CfnDashboard.PivotTableConditionalFormattingScopeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.PivotTableConditionalFormattingScopeProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDashboard.PivotTableConditionalFormattingScopeProperty.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
role
@Stability(Stable) public CfnDashboard.PivotTableConditionalFormattingScopeProperty.Builder role(String role) Sets the value ofCfnDashboard.PivotTableConditionalFormattingScopeProperty.getRole()
- Parameters:
role
- The role (field, field total, grand total) of the cell for conditional formatting.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.PivotTableConditionalFormattingScopeProperty>
- Returns:
- a new instance of
CfnDashboard.PivotTableConditionalFormattingScopeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-