pub struct Builder { /* private fields */ }
Expand description
A builder for FindingStatisticsSortCriteria
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn attribute_name(self, input: FindingStatisticsSortAttributeName) -> Self
pub fn attribute_name(self, input: FindingStatisticsSortAttributeName) -> Self
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
sourcepub fn set_attribute_name(
self,
input: Option<FindingStatisticsSortAttributeName>
) -> Self
pub fn set_attribute_name(
self,
input: Option<FindingStatisticsSortAttributeName>
) -> Self
The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.
sourcepub fn order_by(self, input: OrderBy) -> Self
pub fn order_by(self, input: OrderBy) -> Self
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
sourcepub fn set_order_by(self, input: Option<OrderBy>) -> Self
pub fn set_order_by(self, input: Option<OrderBy>) -> Self
The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.
sourcepub fn build(self) -> FindingStatisticsSortCriteria
pub fn build(self) -> FindingStatisticsSortCriteria
Consumes the builder and constructs a FindingStatisticsSortCriteria
.