pub struct Builder { /* private fields */ }Expand description
A builder for SearchAssociatedTranscriptsInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot associated with the transcripts that you are searching.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique identifier of the bot associated with the transcripts that you are searching.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The version of the bot containing the transcripts that you are searching.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The version of the bot containing the transcripts that you are searching.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see Supported languages
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The identifier of the language and locale of the transcripts to search. The string must match one of the supported locales. For more information, see Supported languages
sourcepub fn bot_recommendation_id(self, input: impl Into<String>) -> Self
pub fn bot_recommendation_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot recommendation associated with the transcripts to search.
sourcepub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
pub fn set_bot_recommendation_id(self, input: Option<String>) -> Self
The unique identifier of the bot recommendation associated with the transcripts to search.
sourcepub fn search_order(self, input: SearchOrder) -> Self
pub fn search_order(self, input: SearchOrder) -> Self
How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.
sourcepub fn set_search_order(self, input: Option<SearchOrder>) -> Self
pub fn set_search_order(self, input: Option<SearchOrder>) -> Self
How SearchResults are ordered. Valid values are Ascending or Descending. The default is Descending.
sourcepub fn filters(self, input: AssociatedTranscriptFilter) -> Self
pub fn filters(self, input: AssociatedTranscriptFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
A list of filter objects.
sourcepub fn set_filters(self, input: Option<Vec<AssociatedTranscriptFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<AssociatedTranscriptFilter>>) -> Self
A list of filter objects.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of bot recommendations to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn next_index(self, input: i32) -> Self
pub fn next_index(self, input: i32) -> Self
If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results.
sourcepub fn set_next_index(self, input: Option<i32>) -> Self
pub fn set_next_index(self, input: Option<i32>) -> Self
If the response from the SearchAssociatedTranscriptsRequest operation contains more results than specified in the maxResults parameter, an index is returned in the response. Use that index in the nextIndex parameter to return the next page of results.
sourcepub fn build(self) -> Result<SearchAssociatedTranscriptsInput, BuildError>
pub fn build(self) -> Result<SearchAssociatedTranscriptsInput, BuildError>
Consumes the builder and constructs a SearchAssociatedTranscriptsInput.