Struct aws_sdk_lexmodelsv2::operation::list_intent_metrics::builders::ListIntentMetricsOutputBuilder
source · #[non_exhaustive]pub struct ListIntentMetricsOutputBuilder { /* private fields */ }
Expand description
A builder for ListIntentMetricsOutput
.
Implementations§
source§impl ListIntentMetricsOutputBuilder
impl ListIntentMetricsOutputBuilder
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 intent 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 intent 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 intent metrics.
sourcepub fn results(self, input: AnalyticsIntentResult) -> Self
pub fn results(self, input: AnalyticsIntentResult) -> Self
Appends an item to results
.
To override the contents of this collection use set_results
.
The results for the intent metrics.
sourcepub fn set_results(self, input: Option<Vec<AnalyticsIntentResult>>) -> Self
pub fn set_results(self, input: Option<Vec<AnalyticsIntentResult>>) -> Self
The results for the intent metrics.
sourcepub fn get_results(&self) -> &Option<Vec<AnalyticsIntentResult>>
pub fn get_results(&self) -> &Option<Vec<AnalyticsIntentResult>>
The results for the intent 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
sourcepub fn build(self) -> ListIntentMetricsOutput
pub fn build(self) -> ListIntentMetricsOutput
Consumes the builder and constructs a ListIntentMetricsOutput
.
Trait Implementations§
source§impl Clone for ListIntentMetricsOutputBuilder
impl Clone for ListIntentMetricsOutputBuilder
source§fn clone(&self) -> ListIntentMetricsOutputBuilder
fn clone(&self) -> ListIntentMetricsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListIntentMetricsOutputBuilder
impl Default for ListIntentMetricsOutputBuilder
source§fn default() -> ListIntentMetricsOutputBuilder
fn default() -> ListIntentMetricsOutputBuilder
source§impl PartialEq for ListIntentMetricsOutputBuilder
impl PartialEq for ListIntentMetricsOutputBuilder
source§fn eq(&self, other: &ListIntentMetricsOutputBuilder) -> bool
fn eq(&self, other: &ListIntentMetricsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.