pub struct Builder { /* private fields */ }Expand description
A builder for AggregatedUtterancesSortBy.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attribute(self, input: AggregatedUtterancesSortAttribute) -> Self
pub fn attribute(self, input: AggregatedUtterancesSortAttribute) -> Self
The utterance attribute to sort by.
sourcepub fn set_attribute(
self,
input: Option<AggregatedUtterancesSortAttribute>
) -> Self
pub fn set_attribute(
self,
input: Option<AggregatedUtterancesSortAttribute>
) -> Self
The utterance attribute to sort by.
sourcepub fn order(self, input: SortOrder) -> Self
pub fn order(self, input: SortOrder) -> Self
Specifies whether to sort the aggregated utterances in ascending or descending order.
sourcepub fn set_order(self, input: Option<SortOrder>) -> Self
pub fn set_order(self, input: Option<SortOrder>) -> Self
Specifies whether to sort the aggregated utterances in ascending or descending order.
sourcepub fn build(self) -> AggregatedUtterancesSortBy
pub fn build(self) -> AggregatedUtterancesSortBy
Consumes the builder and constructs a AggregatedUtterancesSortBy.