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