Struct aws_sdk_lexmodelsv2::operation::list_utterance_metrics::builders::ListUtteranceMetricsOutputBuilder
source · #[non_exhaustive]pub struct ListUtteranceMetricsOutputBuilder { /* private fields */ }Expand description
A builder for ListUtteranceMetricsOutput.
Implementations§
source§impl ListUtteranceMetricsOutputBuilder
impl ListUtteranceMetricsOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier for the bot for which you retrieved utterance metrics.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier for the bot for which you retrieved utterance metrics.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier for the bot for which you retrieved utterance metrics.
sourcepub fn results(self, input: AnalyticsUtteranceResult) -> Self
pub fn results(self, input: AnalyticsUtteranceResult) -> Self
Appends an item to results.
To override the contents of this collection use set_results.
The results for the utterance metrics.
sourcepub fn set_results(self, input: Option<Vec<AnalyticsUtteranceResult>>) -> Self
pub fn set_results(self, input: Option<Vec<AnalyticsUtteranceResult>>) -> Self
The results for the utterance metrics.
sourcepub fn get_results(&self) -> &Option<Vec<AnalyticsUtteranceResult>>
pub fn get_results(&self) -> &Option<Vec<AnalyticsUtteranceResult>>
The results for the utterance metrics.
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 ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.
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 ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response from the ListUtteranceMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListUtteranceMetrics request to return the next page of results. For a complete set of results, call the ListUtteranceMetrics operation until the nextToken returned in the response is null.
sourcepub fn build(self) -> ListUtteranceMetricsOutput
pub fn build(self) -> ListUtteranceMetricsOutput
Consumes the builder and constructs a ListUtteranceMetricsOutput.
Trait Implementations§
source§impl Clone for ListUtteranceMetricsOutputBuilder
impl Clone for ListUtteranceMetricsOutputBuilder
source§fn clone(&self) -> ListUtteranceMetricsOutputBuilder
fn clone(&self) -> ListUtteranceMetricsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListUtteranceMetricsOutputBuilder
impl Default for ListUtteranceMetricsOutputBuilder
source§fn default() -> ListUtteranceMetricsOutputBuilder
fn default() -> ListUtteranceMetricsOutputBuilder
source§impl PartialEq for ListUtteranceMetricsOutputBuilder
impl PartialEq for ListUtteranceMetricsOutputBuilder
source§fn eq(&self, other: &ListUtteranceMetricsOutputBuilder) -> bool
fn eq(&self, other: &ListUtteranceMetricsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.