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