Struct aws_sdk_lexmodelsv2::operation::search_associated_transcripts::builders::SearchAssociatedTranscriptsFluentBuilder
source · pub struct SearchAssociatedTranscriptsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to SearchAssociatedTranscripts.
Search for associated transcripts that meet the specified criteria.
Implementations§
source§impl SearchAssociatedTranscriptsFluentBuilder
impl SearchAssociatedTranscriptsFluentBuilder
sourcepub fn as_input(&self) -> &SearchAssociatedTranscriptsInputBuilder
pub fn as_input(&self) -> &SearchAssociatedTranscriptsInputBuilder
Access the SearchAssociatedTranscripts as a reference.
sourcepub async fn send(
self
) -> Result<SearchAssociatedTranscriptsOutput, SdkError<SearchAssociatedTranscriptsError, HttpResponse>>
pub async fn send( self ) -> Result<SearchAssociatedTranscriptsOutput, SdkError<SearchAssociatedTranscriptsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<SearchAssociatedTranscriptsOutput, SearchAssociatedTranscriptsError>, SdkError<SearchAssociatedTranscriptsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<SearchAssociatedTranscriptsOutput, SearchAssociatedTranscriptsError>, SdkError<SearchAssociatedTranscriptsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for SearchAssociatedTranscriptsFluentBuilder
impl Clone for SearchAssociatedTranscriptsFluentBuilder
source§fn clone(&self) -> SearchAssociatedTranscriptsFluentBuilder
fn clone(&self) -> SearchAssociatedTranscriptsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more