Class CfnDashboard.PredefinedHierarchyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.PredefinedHierarchyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.PredefinedHierarchyProperty>
- Enclosing interface:
CfnDashboard.PredefinedHierarchyProperty
@Stability(Stable)
public static final class CfnDashboard.PredefinedHierarchyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.PredefinedHierarchyProperty>
A builder for
CfnDashboard.PredefinedHierarchyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getColumns()
columns
(IResolvable columns) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getColumns()
drillDownFilters
(List<? extends Object> drillDownFilters) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getDrillDownFilters()
drillDownFilters
(IResolvable drillDownFilters) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getDrillDownFilters()
hierarchyId
(String hierarchyId) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getHierarchyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
@Stability(Stable) public CfnDashboard.PredefinedHierarchyProperty.Builder columns(IResolvable columns) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getColumns()
- Parameters:
columns
- The list of columns that define the predefined hierarchy. This parameter is required.- Returns:
this
-
columns
@Stability(Stable) public CfnDashboard.PredefinedHierarchyProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getColumns()
- Parameters:
columns
- The list of columns that define the predefined hierarchy. This parameter is required.- Returns:
this
-
hierarchyId
@Stability(Stable) public CfnDashboard.PredefinedHierarchyProperty.Builder hierarchyId(String hierarchyId) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getHierarchyId()
- Parameters:
hierarchyId
- The hierarchy ID of the predefined hierarchy. This parameter is required.- Returns:
this
-
drillDownFilters
@Stability(Stable) public CfnDashboard.PredefinedHierarchyProperty.Builder drillDownFilters(IResolvable drillDownFilters) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getDrillDownFilters()
- Parameters:
drillDownFilters
- The option that determines the drill down filters for the predefined hierarchy.- Returns:
this
-
drillDownFilters
@Stability(Stable) public CfnDashboard.PredefinedHierarchyProperty.Builder drillDownFilters(List<? extends Object> drillDownFilters) Sets the value ofCfnDashboard.PredefinedHierarchyProperty.getDrillDownFilters()
- Parameters:
drillDownFilters
- The option that determines the drill down filters for the predefined hierarchy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.PredefinedHierarchyProperty>
- Returns:
- a new instance of
CfnDashboard.PredefinedHierarchyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-