Struct aws_sdk_lexmodelsv2::operation::list_bot_versions::builders::ListBotVersionsInputBuilder
source · #[non_exhaustive]pub struct ListBotVersionsInputBuilder { /* private fields */ }Expand description
A builder for ListBotVersionsInput.
Implementations§
source§impl ListBotVersionsInputBuilder
impl ListBotVersionsInputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot to list versions for.
This field is required.sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot to list versions for.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot to list versions for.
sourcepub fn sort_by(self, input: BotVersionSortBy) -> Self
pub fn sort_by(self, input: BotVersionSortBy) -> Self
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn set_sort_by(self, input: Option<BotVersionSortBy>) -> Self
pub fn set_sort_by(self, input: Option<BotVersionSortBy>) -> Self
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn get_sort_by(&self) -> &Option<BotVersionSortBy>
pub fn get_sort_by(&self) -> &Option<BotVersionSortBy>
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of 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 versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of 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 to the ListBotVersion operation contains more results than 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 to the ListBotVersion operation contains more results than 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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response to the ListBotVersion operation contains more results than 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<ListBotVersionsInput, BuildError>
pub fn build(self) -> Result<ListBotVersionsInput, BuildError>
Consumes the builder and constructs a ListBotVersionsInput.
source§impl ListBotVersionsInputBuilder
impl ListBotVersionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListBotVersionsOutput, SdkError<ListBotVersionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListBotVersionsOutput, SdkError<ListBotVersionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListBotVersionsInputBuilder
impl Clone for ListBotVersionsInputBuilder
source§fn clone(&self) -> ListBotVersionsInputBuilder
fn clone(&self) -> ListBotVersionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListBotVersionsInputBuilder
impl Debug for ListBotVersionsInputBuilder
source§impl Default for ListBotVersionsInputBuilder
impl Default for ListBotVersionsInputBuilder
source§fn default() -> ListBotVersionsInputBuilder
fn default() -> ListBotVersionsInputBuilder
impl StructuralPartialEq for ListBotVersionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListBotVersionsInputBuilder
impl RefUnwindSafe for ListBotVersionsInputBuilder
impl Send for ListBotVersionsInputBuilder
impl Sync for ListBotVersionsInputBuilder
impl Unpin for ListBotVersionsInputBuilder
impl UnwindSafe for ListBotVersionsInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more