Struct aws_sdk_glue::model::aggregate_operation::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for AggregateOperation.
Implementations§
source§impl Builder
impl Builder
sourcepub fn column(self, input: impl Into<String>) -> Self
pub fn column(self, input: impl Into<String>) -> Self
Appends an item to column.
To override the contents of this collection use set_column.
Specifies the column on the data set on which the aggregation function will be applied.
sourcepub fn set_column(self, input: Option<Vec<String>>) -> Self
pub fn set_column(self, input: Option<Vec<String>>) -> Self
Specifies the column on the data set on which the aggregation function will be applied.
sourcepub fn agg_func(self, input: AggFunction) -> Self
pub fn agg_func(self, input: AggFunction) -> Self
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
sourcepub fn set_agg_func(self, input: Option<AggFunction>) -> Self
pub fn set_agg_func(self, input: Option<AggFunction>) -> Self
Specifies the aggregation function to apply.
Possible aggregation functions include: avg countDistinct, count, first, last, kurtosis, max, min, skewness, stddev_samp, stddev_pop, sum, sumDistinct, var_samp, var_pop
sourcepub fn build(self) -> AggregateOperation
pub fn build(self) -> AggregateOperation
Consumes the builder and constructs a AggregateOperation.