Class CfnAnalysis.ColumnHierarchyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ColumnHierarchyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ColumnHierarchyProperty>
- Enclosing interface:
CfnAnalysis.ColumnHierarchyProperty
@Stability(Stable)
public static final class CfnAnalysis.ColumnHierarchyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ColumnHierarchyProperty>
A builder for
CfnAnalysis.ColumnHierarchyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dateTimeHierarchy
(IResolvable dateTimeHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getDateTimeHierarchy()
dateTimeHierarchy
(CfnAnalysis.DateTimeHierarchyProperty dateTimeHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getDateTimeHierarchy()
explicitHierarchy
(IResolvable explicitHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getExplicitHierarchy()
explicitHierarchy
(CfnAnalysis.ExplicitHierarchyProperty explicitHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getExplicitHierarchy()
predefinedHierarchy
(IResolvable predefinedHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getPredefinedHierarchy()
predefinedHierarchy
(CfnAnalysis.PredefinedHierarchyProperty predefinedHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getPredefinedHierarchy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dateTimeHierarchy
@Stability(Stable) public CfnAnalysis.ColumnHierarchyProperty.Builder dateTimeHierarchy(IResolvable dateTimeHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getDateTimeHierarchy()
- Parameters:
dateTimeHierarchy
- The option that determines the hierarchy of anyDateTime
fields.- Returns:
this
-
dateTimeHierarchy
@Stability(Stable) public CfnAnalysis.ColumnHierarchyProperty.Builder dateTimeHierarchy(CfnAnalysis.DateTimeHierarchyProperty dateTimeHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getDateTimeHierarchy()
- Parameters:
dateTimeHierarchy
- The option that determines the hierarchy of anyDateTime
fields.- Returns:
this
-
explicitHierarchy
@Stability(Stable) public CfnAnalysis.ColumnHierarchyProperty.Builder explicitHierarchy(IResolvable explicitHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getExplicitHierarchy()
- Parameters:
explicitHierarchy
- The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals.- Returns:
this
-
explicitHierarchy
@Stability(Stable) public CfnAnalysis.ColumnHierarchyProperty.Builder explicitHierarchy(CfnAnalysis.ExplicitHierarchyProperty explicitHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getExplicitHierarchy()
- Parameters:
explicitHierarchy
- The option that determines the hierarchy of the fields that are built within a visual's field wells. These fields can't be duplicated to other visuals.- Returns:
this
-
predefinedHierarchy
@Stability(Stable) public CfnAnalysis.ColumnHierarchyProperty.Builder predefinedHierarchy(IResolvable predefinedHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getPredefinedHierarchy()
- Parameters:
predefinedHierarchy
- The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source.- Returns:
this
-
predefinedHierarchy
@Stability(Stable) public CfnAnalysis.ColumnHierarchyProperty.Builder predefinedHierarchy(CfnAnalysis.PredefinedHierarchyProperty predefinedHierarchy) Sets the value ofCfnAnalysis.ColumnHierarchyProperty.getPredefinedHierarchy()
- Parameters:
predefinedHierarchy
- The option that determines the hierarchy of the fields that are defined during data preparation. These fields are available to use in any analysis that uses the data source.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ColumnHierarchyProperty>
- Returns:
- a new instance of
CfnAnalysis.ColumnHierarchyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-