#[non_exhaustive]pub struct ListGatewaysOutputBuilder { /* private fields */ }
Expand description
A builder for ListGatewaysOutput
.
Implementations§
source§impl ListGatewaysOutputBuilder
impl ListGatewaysOutputBuilder
sourcepub fn gateways(self, input: Gateway) -> Self
pub fn gateways(self, input: Gateway) -> Self
Appends an item to gateways
.
To override the contents of this collection use set_gateways
.
A list of your gateways.
sourcepub fn set_gateways(self, input: Option<Vec<Gateway>>) -> Self
pub fn set_gateways(self, input: Option<Vec<Gateway>>) -> Self
A list of your gateways.
sourcepub fn get_gateways(&self) -> &Option<Vec<Gateway>>
pub fn get_gateways(&self) -> &Option<Vec<Gateway>>
A list of your gateways.
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) -> 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 ==
.