#[non_exhaustive]pub struct ListGatewaysInputBuilder { /* private fields */ }
Expand description
A builder for ListGatewaysInput
.
Implementations§
source§impl ListGatewaysInputBuilder
impl ListGatewaysInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of gateways to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of gateways to list.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of gateways to list.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next item following a partial list of returned resources. For example, if a request is made to return MaxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next item following a partial list of returned resources. For example, if a request is made to return MaxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next item following a partial list of returned resources. For example, if a request is made to return MaxResults
number of resources, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn build(self) -> Result<ListGatewaysInput, BuildError>
pub fn build(self) -> Result<ListGatewaysInput, BuildError>
Consumes the builder and constructs a ListGatewaysInput
.
source§impl ListGatewaysInputBuilder
impl ListGatewaysInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListGatewaysOutput, SdkError<ListGatewaysError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListGatewaysOutput, SdkError<ListGatewaysError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListGatewaysInputBuilder
impl Clone for ListGatewaysInputBuilder
source§fn clone(&self) -> ListGatewaysInputBuilder
fn clone(&self) -> ListGatewaysInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListGatewaysInputBuilder
impl Debug for ListGatewaysInputBuilder
source§impl Default for ListGatewaysInputBuilder
impl Default for ListGatewaysInputBuilder
source§fn default() -> ListGatewaysInputBuilder
fn default() -> ListGatewaysInputBuilder
source§impl PartialEq for ListGatewaysInputBuilder
impl PartialEq for ListGatewaysInputBuilder
source§fn eq(&self, other: &ListGatewaysInputBuilder) -> bool
fn eq(&self, other: &ListGatewaysInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.