#[non_exhaustive]pub struct ListServersInputBuilder { /* private fields */ }
Expand description
A builder for ListServersInput
.
Implementations§
source§impl ListServersInputBuilder
impl ListServersInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Specifies the number of servers to return as a response to the ListServers
query.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Specifies the number of servers to return as a response to the ListServers
query.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Specifies the number of servers to return as a response to the ListServers
query.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When additional results are obtained from the ListServers
command, a NextToken
parameter is returned in the output. You can then pass the NextToken
parameter in a subsequent command to continue listing additional servers.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When additional results are obtained from the ListServers
command, a NextToken
parameter is returned in the output. You can then pass the NextToken
parameter in a subsequent command to continue listing additional servers.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When additional results are obtained from the ListServers
command, a NextToken
parameter is returned in the output. You can then pass the NextToken
parameter in a subsequent command to continue listing additional servers.
sourcepub fn build(self) -> Result<ListServersInput, BuildError>
pub fn build(self) -> Result<ListServersInput, BuildError>
Consumes the builder and constructs a ListServersInput
.
source§impl ListServersInputBuilder
impl ListServersInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListServersOutput, SdkError<ListServersError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListServersOutput, SdkError<ListServersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListServersInputBuilder
impl Clone for ListServersInputBuilder
source§fn clone(&self) -> ListServersInputBuilder
fn clone(&self) -> ListServersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListServersInputBuilder
impl Debug for ListServersInputBuilder
source§impl Default for ListServersInputBuilder
impl Default for ListServersInputBuilder
source§fn default() -> ListServersInputBuilder
fn default() -> ListServersInputBuilder
source§impl PartialEq for ListServersInputBuilder
impl PartialEq for ListServersInputBuilder
source§fn eq(&self, other: &ListServersInputBuilder) -> bool
fn eq(&self, other: &ListServersInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListServersInputBuilder
Auto Trait Implementations§
impl Freeze for ListServersInputBuilder
impl RefUnwindSafe for ListServersInputBuilder
impl Send for ListServersInputBuilder
impl Sync for ListServersInputBuilder
impl Unpin for ListServersInputBuilder
impl UnwindSafe for ListServersInputBuilder
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> 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