#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for ListAggregatedUtterancesInput
Implementations
sourceimpl 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 this request.
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 this request.
sourcepub fn bot_alias_id(self, input: impl Into<String>) -> Self
pub fn bot_alias_id(self, input: impl Into<String>) -> Self
The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.
sourcepub fn set_bot_alias_id(self, input: Option<String>) -> Self
pub fn set_bot_alias_id(self, input: Option<String>) -> Self
The identifier of the bot alias associated with this request. If you specify the bot alias, you can't specify the bot version.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The identifier of the bot version associated with this request. If you specify the bot version, you can't specify the bot alias.
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 where the utterances were collected. 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 where the utterances were collected. For more information, see Supported languages.
sourcepub fn aggregation_duration(self, input: UtteranceAggregationDuration) -> Self
pub fn aggregation_duration(self, input: UtteranceAggregationDuration) -> Self
The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.
sourcepub fn set_aggregation_duration(
self,
input: Option<UtteranceAggregationDuration>
) -> Self
pub fn set_aggregation_duration(
self,
input: Option<UtteranceAggregationDuration>
) -> Self
The time window for aggregating the utterance information. You can specify a time between one hour and two weeks.
sourcepub fn sort_by(self, input: AggregatedUtterancesSortBy) -> Self
pub fn sort_by(self, input: AggregatedUtterancesSortBy) -> Self
Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.
sourcepub fn set_sort_by(self, input: Option<AggregatedUtterancesSortBy>) -> Self
pub fn set_sort_by(self, input: Option<AggregatedUtterancesSortBy>) -> Self
Specifies sorting parameters for the list of utterances. You can sort by the hit count, the missed count, or the number of distinct sessions the utterance appeared in.
sourcepub fn filters(self, input: AggregatedUtterancesFilter) -> Self
pub fn filters(self, input: AggregatedUtterancesFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
sourcepub fn set_filters(self, input: Option<Vec<AggregatedUtterancesFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<AggregatedUtterancesFilter>>) -> Self
Provides the specification of a filter used to limit the utterances in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify the maxResults parameter, 1,000 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 utterances to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned. If you don't specify the maxResults parameter, 1,000 results are returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response from the ListAggregatedUtterances operation contains more results that specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response from the ListAggregatedUtterances operation contains more results that specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
sourcepub fn build(self) -> Result<ListAggregatedUtterancesInput, BuildError>
pub fn build(self) -> Result<ListAggregatedUtterancesInput, BuildError>
Consumes the builder and constructs a ListAggregatedUtterancesInput
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more