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