Struct aws_sdk_lexmodelsv2::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsInputBuilder
source · #[non_exhaustive]pub struct SearchAssociatedTranscriptsInputBuilder { /* private fields */ }Expand description
A builder for SearchAssociatedTranscriptsInput.
Implementations§
source§impl SearchAssociatedTranscriptsInputBuilder
impl SearchAssociatedTranscriptsInputBuilder
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 get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
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 get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
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 get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
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 get_bot_recommendation_id(&self) -> &Option<String>
pub fn get_bot_recommendation_id(&self) -> &Option<String>
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 get_search_order(&self) -> &Option<SearchOrder>
pub fn get_search_order(&self) -> &Option<SearchOrder>
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 get_filters(&self) -> &Option<Vec<AssociatedTranscriptFilter>>
pub fn get_filters(&self) -> &Option<Vec<AssociatedTranscriptFilter>>
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 get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
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 get_next_index(&self) -> &Option<i32>
pub fn get_next_index(&self) -> &Option<i32>
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.
source§impl SearchAssociatedTranscriptsInputBuilder
impl SearchAssociatedTranscriptsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SearchAssociatedTranscriptsOutput, SdkError<SearchAssociatedTranscriptsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SearchAssociatedTranscriptsOutput, SdkError<SearchAssociatedTranscriptsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchAssociatedTranscriptsInputBuilder
impl Clone for SearchAssociatedTranscriptsInputBuilder
source§fn clone(&self) -> SearchAssociatedTranscriptsInputBuilder
fn clone(&self) -> SearchAssociatedTranscriptsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SearchAssociatedTranscriptsInputBuilder
impl Default for SearchAssociatedTranscriptsInputBuilder
source§fn default() -> SearchAssociatedTranscriptsInputBuilder
fn default() -> SearchAssociatedTranscriptsInputBuilder
source§impl PartialEq<SearchAssociatedTranscriptsInputBuilder> for SearchAssociatedTranscriptsInputBuilder
impl PartialEq<SearchAssociatedTranscriptsInputBuilder> for SearchAssociatedTranscriptsInputBuilder
source§fn eq(&self, other: &SearchAssociatedTranscriptsInputBuilder) -> bool
fn eq(&self, other: &SearchAssociatedTranscriptsInputBuilder) -> bool
self and other values to be equal, and is used
by ==.