#[non_exhaustive]pub struct ListGatewaysOutputBuilder { /* private fields */ }
Expand description
A builder for ListGatewaysOutput
.
Implementations§
source§impl ListGatewaysOutputBuilder
impl ListGatewaysOutputBuilder
sourcepub fn gateways(self, input: ListedGateway) -> Self
pub fn gateways(self, input: ListedGateway) -> Self
Appends an item to gateways
.
To override the contents of this collection use set_gateways
.
A list of gateway summaries.
sourcepub fn set_gateways(self, input: Option<Vec<ListedGateway>>) -> Self
pub fn set_gateways(self, input: Option<Vec<ListedGateway>>) -> Self
A list of gateway summaries.
sourcepub fn get_gateways(&self) -> &Option<Vec<ListedGateway>>
pub fn get_gateways(&self) -> &Option<Vec<ListedGateway>>
A list of gateway summaries.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token that identifies which batch of results that you want to see. For example, you submit a ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second time and specify the NextToken value.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token that identifies which batch of results that you want to see. For example, you submit a ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second time and specify the NextToken value.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token that identifies which batch of results that you want to see. For example, you submit a ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second time and specify the NextToken value.
sourcepub fn build(self) -> ListGatewaysOutput
pub fn build(self) -> ListGatewaysOutput
Consumes the builder and constructs a ListGatewaysOutput
.
Trait Implementations§
source§impl Clone for ListGatewaysOutputBuilder
impl Clone for ListGatewaysOutputBuilder
source§fn clone(&self) -> ListGatewaysOutputBuilder
fn clone(&self) -> ListGatewaysOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListGatewaysOutputBuilder
impl Debug for ListGatewaysOutputBuilder
source§impl Default for ListGatewaysOutputBuilder
impl Default for ListGatewaysOutputBuilder
source§fn default() -> ListGatewaysOutputBuilder
fn default() -> ListGatewaysOutputBuilder
source§impl PartialEq for ListGatewaysOutputBuilder
impl PartialEq for ListGatewaysOutputBuilder
source§fn eq(&self, other: &ListGatewaysOutputBuilder) -> bool
fn eq(&self, other: &ListGatewaysOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListGatewaysOutputBuilder
Auto Trait Implementations§
impl Freeze for ListGatewaysOutputBuilder
impl RefUnwindSafe for ListGatewaysOutputBuilder
impl Send for ListGatewaysOutputBuilder
impl Sync for ListGatewaysOutputBuilder
impl Unpin for ListGatewaysOutputBuilder
impl UnwindSafe for ListGatewaysOutputBuilder
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