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