Struct aws_sdk_lexmodelsv2::model::bot_sort_by::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for BotSortBy.
Implementations§
source§impl Builder
impl Builder
sourcepub fn attribute(self, input: BotSortAttribute) -> Self
pub fn attribute(self, input: BotSortAttribute) -> Self
The attribute to use to sort the list of bots.
sourcepub fn set_attribute(self, input: Option<BotSortAttribute>) -> Self
pub fn set_attribute(self, input: Option<BotSortAttribute>) -> Self
The attribute to use to sort the list of bots.
sourcepub fn order(self, input: SortOrder) -> Self
pub fn order(self, input: SortOrder) -> Self
The order to sort the list. You can choose ascending or descending.