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