Class CfnDashboard.DateMeasureFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DateMeasureFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DateMeasureFieldProperty>
- Enclosing interface:
CfnDashboard.DateMeasureFieldProperty
@Stability(Stable)
public static final class CfnDashboard.DateMeasureFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DateMeasureFieldProperty>
A builder for
CfnDashboard.DateMeasureFieldProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregationFunction
(String aggregationFunction) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getAggregationFunction()
build()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getColumn()
Sets the value ofCfnDashboard.DateMeasureFieldProperty.getColumn()
Sets the value ofCfnDashboard.DateMeasureFieldProperty.getFieldId()
formatConfiguration
(IResolvable formatConfiguration) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getFormatConfiguration()
formatConfiguration
(CfnDashboard.DateTimeFormatConfigurationProperty formatConfiguration) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getFormatConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
column
Sets the value ofCfnDashboard.DateMeasureFieldProperty.getColumn()
- Parameters:
column
- The column that is used in theDateMeasureField
. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnDashboard.DateMeasureFieldProperty.Builder column(CfnDashboard.ColumnIdentifierProperty column) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getColumn()
- Parameters:
column
- The column that is used in theDateMeasureField
. This parameter is required.- Returns:
this
-
fieldId
Sets the value ofCfnDashboard.DateMeasureFieldProperty.getFieldId()
- Parameters:
fieldId
- The custom field ID. This parameter is required.- Returns:
this
-
aggregationFunction
@Stability(Stable) public CfnDashboard.DateMeasureFieldProperty.Builder aggregationFunction(String aggregationFunction) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getAggregationFunction()
- Parameters:
aggregationFunction
- The aggregation function of the measure field.- Returns:
this
-
formatConfiguration
@Stability(Stable) public CfnDashboard.DateMeasureFieldProperty.Builder formatConfiguration(IResolvable formatConfiguration) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getFormatConfiguration()
- Parameters:
formatConfiguration
- The format configuration of the field.- Returns:
this
-
formatConfiguration
@Stability(Stable) public CfnDashboard.DateMeasureFieldProperty.Builder formatConfiguration(CfnDashboard.DateTimeFormatConfigurationProperty formatConfiguration) Sets the value ofCfnDashboard.DateMeasureFieldProperty.getFormatConfiguration()
- Parameters:
formatConfiguration
- The format configuration of the field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DateMeasureFieldProperty>
- Returns:
- a new instance of
CfnDashboard.DateMeasureFieldProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-