Class CfnAnalysis.DateDimensionFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.DateDimensionFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.DateDimensionFieldProperty>
- Enclosing interface:
CfnAnalysis.DateDimensionFieldProperty
@Stability(Stable)
public static final class CfnAnalysis.DateDimensionFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.DateDimensionFieldProperty>
A builder for
CfnAnalysis.DateDimensionFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.column(IResolvable column) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getColumn()Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getColumn()dateGranularity(String dateGranularity) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getDateGranularity()Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getFieldId()formatConfiguration(IResolvable formatConfiguration) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getFormatConfiguration()formatConfiguration(CfnAnalysis.DateTimeFormatConfigurationProperty formatConfiguration) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getFormatConfiguration()hierarchyId(String hierarchyId) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getHierarchyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getColumn()- Parameters:
column- The column that is used in theDateDimensionField. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnAnalysis.DateDimensionFieldProperty.Builder column(CfnAnalysis.ColumnIdentifierProperty column) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getColumn()- Parameters:
column- The column that is used in theDateDimensionField. This parameter is required.- Returns:
this
-
fieldId
Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getFieldId()- Parameters:
fieldId- The custom field ID. This parameter is required.- Returns:
this
-
dateGranularity
@Stability(Stable) public CfnAnalysis.DateDimensionFieldProperty.Builder dateGranularity(String dateGranularity) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getDateGranularity()- Parameters:
dateGranularity- The date granularity of theDateDimensionField. Choose one of the following options:.YEARQUARTERMONTHWEEKDAYHOURMINUTESECONDMILLISECOND
- Returns:
this
-
formatConfiguration
@Stability(Stable) public CfnAnalysis.DateDimensionFieldProperty.Builder formatConfiguration(IResolvable formatConfiguration) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getFormatConfiguration()- Parameters:
formatConfiguration- The format configuration of the field.- Returns:
this
-
formatConfiguration
@Stability(Stable) public CfnAnalysis.DateDimensionFieldProperty.Builder formatConfiguration(CfnAnalysis.DateTimeFormatConfigurationProperty formatConfiguration) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getFormatConfiguration()- Parameters:
formatConfiguration- The format configuration of the field.- Returns:
this
-
hierarchyId
@Stability(Stable) public CfnAnalysis.DateDimensionFieldProperty.Builder hierarchyId(String hierarchyId) Sets the value ofCfnAnalysis.DateDimensionFieldProperty.getHierarchyId()- Parameters:
hierarchyId- The custom hierarchy ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.DateDimensionFieldProperty>- Returns:
- a new instance of
CfnAnalysis.DateDimensionFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-