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