#[non_exhaustive]pub struct ListBotsOutputBuilder { /* private fields */ }Expand description
A builder for ListBotsOutput.
Implementations§
source§impl ListBotsOutputBuilder
impl ListBotsOutputBuilder
sourcepub fn bot_summaries(self, input: BotSummary) -> Self
pub fn bot_summaries(self, input: BotSummary) -> Self
Appends an item to bot_summaries.
To override the contents of this collection use set_bot_summaries.
Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more bots available, the nextToken field contains a token to the next page of results.
sourcepub fn set_bot_summaries(self, input: Option<Vec<BotSummary>>) -> Self
pub fn set_bot_summaries(self, input: Option<Vec<BotSummary>>) -> Self
Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more bots available, the nextToken field contains a token to the next page of results.
sourcepub fn get_bot_summaries(&self) -> &Option<Vec<BotSummary>>
pub fn get_bot_summaries(&self) -> &Option<Vec<BotSummary>>
Summary information for the bots that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more bots available, the nextToken field contains a token to the next page of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that indicates whether there are more results to return in a response to the ListBots operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBots operation request to get 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
A token that indicates whether there are more results to return in a response to the ListBots operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBots operation request to get the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that indicates whether there are more results to return in a response to the ListBots operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListBots operation request to get the next page of results.
sourcepub fn build(self) -> ListBotsOutput
pub fn build(self) -> ListBotsOutput
Consumes the builder and constructs a ListBotsOutput.
Trait Implementations§
source§impl Clone for ListBotsOutputBuilder
impl Clone for ListBotsOutputBuilder
source§fn clone(&self) -> ListBotsOutputBuilder
fn clone(&self) -> ListBotsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListBotsOutputBuilder
impl Debug for ListBotsOutputBuilder
source§impl Default for ListBotsOutputBuilder
impl Default for ListBotsOutputBuilder
source§fn default() -> ListBotsOutputBuilder
fn default() -> ListBotsOutputBuilder
source§impl PartialEq for ListBotsOutputBuilder
impl PartialEq for ListBotsOutputBuilder
source§fn eq(&self, other: &ListBotsOutputBuilder) -> bool
fn eq(&self, other: &ListBotsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.