Interface CategoricalMeasureField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CategoricalMeasureField.Builder,
,CategoricalMeasureField> SdkBuilder<CategoricalMeasureField.Builder,
,CategoricalMeasureField> SdkPojo
- Enclosing class:
CategoricalMeasureField
public static interface CategoricalMeasureField.Builder
extends SdkPojo, CopyableBuilder<CategoricalMeasureField.Builder,CategoricalMeasureField>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationFunction
(String aggregationFunction) The aggregation function of the measure field.aggregationFunction
(CategoricalAggregationFunction aggregationFunction) The aggregation function of the measure field.default CategoricalMeasureField.Builder
column
(Consumer<ColumnIdentifier.Builder> column) The column that is used in theCategoricalMeasureField
.column
(ColumnIdentifier column) The column that is used in theCategoricalMeasureField
.The custom field ID.default CategoricalMeasureField.Builder
formatConfiguration
(Consumer<StringFormatConfiguration.Builder> formatConfiguration) The format configuration of the field.formatConfiguration
(StringFormatConfiguration formatConfiguration) The format configuration of the field.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fieldId
The custom field ID.
- Parameters:
fieldId
- The custom field ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
The column that is used in the
CategoricalMeasureField
.- Parameters:
column
- The column that is used in theCategoricalMeasureField
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
The column that is used in the
This is a convenience method that creates an instance of theCategoricalMeasureField
.ColumnIdentifier.Builder
avoiding the need to create one manually viaColumnIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumn(ColumnIdentifier)
.- Parameters:
column
- a consumer that will call methods onColumnIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationFunction
The aggregation function of the measure field.
- Parameters:
aggregationFunction
- The aggregation function of the measure field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationFunction
CategoricalMeasureField.Builder aggregationFunction(CategoricalAggregationFunction aggregationFunction) The aggregation function of the measure field.
- Parameters:
aggregationFunction
- The aggregation function of the measure field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
formatConfiguration
The format configuration of the field.
- Parameters:
formatConfiguration
- The format configuration of the field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatConfiguration
default CategoricalMeasureField.Builder formatConfiguration(Consumer<StringFormatConfiguration.Builder> formatConfiguration) The format configuration of the field.
This is a convenience method that creates an instance of theStringFormatConfiguration.Builder
avoiding the need to create one manually viaStringFormatConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toformatConfiguration(StringFormatConfiguration)
.- Parameters:
formatConfiguration
- a consumer that will call methods onStringFormatConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-