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