Struct aws_sdk_quicksight::model::aggregation_function::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AggregationFunction
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn numerical_aggregation_function(
self,
input: NumericalAggregationFunction
) -> Self
pub fn numerical_aggregation_function(
self,
input: NumericalAggregationFunction
) -> Self
Aggregation for numerical values.
sourcepub fn set_numerical_aggregation_function(
self,
input: Option<NumericalAggregationFunction>
) -> Self
pub fn set_numerical_aggregation_function(
self,
input: Option<NumericalAggregationFunction>
) -> Self
Aggregation for numerical values.
sourcepub fn categorical_aggregation_function(
self,
input: CategoricalAggregationFunction
) -> Self
pub fn categorical_aggregation_function(
self,
input: CategoricalAggregationFunction
) -> Self
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
sourcepub fn set_categorical_aggregation_function(
self,
input: Option<CategoricalAggregationFunction>
) -> Self
pub fn set_categorical_aggregation_function(
self,
input: Option<CategoricalAggregationFunction>
) -> Self
Aggregation for categorical values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values.
sourcepub fn date_aggregation_function(self, input: DateAggregationFunction) -> Self
pub fn date_aggregation_function(self, input: DateAggregationFunction) -> Self
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
sourcepub fn set_date_aggregation_function(
self,
input: Option<DateAggregationFunction>
) -> Self
pub fn set_date_aggregation_function(
self,
input: Option<DateAggregationFunction>
) -> Self
Aggregation for date values.
-
COUNT
: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT
: Aggregate by the total number of distinct values. -
MIN
: Select the smallest date value. -
MAX
: Select the largest date value.
sourcepub fn build(self) -> AggregationFunction
pub fn build(self) -> AggregationFunction
Consumes the builder and constructs a AggregationFunction
.