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