Class CfnTopic.NamedEntityDefinitionMetricProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.NamedEntityDefinitionMetricProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.NamedEntityDefinitionMetricProperty>
- Enclosing interface:
CfnTopic.NamedEntityDefinitionMetricProperty
@Stability(Stable)
public static final class CfnTopic.NamedEntityDefinitionMetricProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.NamedEntityDefinitionMetricProperty>
A builder for
CfnTopic.NamedEntityDefinitionMetricProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregation
(String aggregation) Sets the value ofCfnTopic.NamedEntityDefinitionMetricProperty.getAggregation()
aggregationFunctionParameters
(Map<String, String> aggregationFunctionParameters) aggregationFunctionParameters
(IResolvable aggregationFunctionParameters) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregation
@Stability(Stable) public CfnTopic.NamedEntityDefinitionMetricProperty.Builder aggregation(String aggregation) Sets the value ofCfnTopic.NamedEntityDefinitionMetricProperty.getAggregation()
- Parameters:
aggregation
- The aggregation of a named entity. Valid values for this structure areSUM
,MIN
,MAX
,COUNT
,AVERAGE
,DISTINCT_COUNT
,STDEV
,STDEVP
,VAR
,VARP
,PERCENTILE
,MEDIAN
, andCUSTOM
.- Returns:
this
-
aggregationFunctionParameters
@Stability(Stable) public CfnTopic.NamedEntityDefinitionMetricProperty.Builder aggregationFunctionParameters(IResolvable aggregationFunctionParameters) - Parameters:
aggregationFunctionParameters
- The additional parameters for an aggregation function.- Returns:
this
-
aggregationFunctionParameters
@Stability(Stable) public CfnTopic.NamedEntityDefinitionMetricProperty.Builder aggregationFunctionParameters(Map<String, String> aggregationFunctionParameters) - Parameters:
aggregationFunctionParameters
- The additional parameters for an aggregation function.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.NamedEntityDefinitionMetricProperty>
- Returns:
- a new instance of
CfnTopic.NamedEntityDefinitionMetricProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-