Struct aws_sdk_appmesh::operation::list_virtual_gateways::builders::ListVirtualGatewaysOutputBuilder
source · #[non_exhaustive]pub struct ListVirtualGatewaysOutputBuilder { /* private fields */ }
Expand description
A builder for ListVirtualGatewaysOutput
.
Implementations§
source§impl ListVirtualGatewaysOutputBuilder
impl ListVirtualGatewaysOutputBuilder
sourcepub fn virtual_gateways(self, input: VirtualGatewayRef) -> Self
pub fn virtual_gateways(self, input: VirtualGatewayRef) -> Self
Appends an item to virtual_gateways
.
To override the contents of this collection use set_virtual_gateways
.
The list of existing virtual gateways for the specified service mesh.
sourcepub fn set_virtual_gateways(self, input: Option<Vec<VirtualGatewayRef>>) -> Self
pub fn set_virtual_gateways(self, input: Option<Vec<VirtualGatewayRef>>) -> Self
The list of existing virtual gateways for the specified service mesh.
sourcepub fn get_virtual_gateways(&self) -> &Option<Vec<VirtualGatewayRef>>
pub fn get_virtual_gateways(&self) -> &Option<Vec<VirtualGatewayRef>>
The list of existing virtual gateways for the specified service mesh.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value to include in a future ListVirtualGateways
request. When the results of a ListVirtualGateways
request exceed limit
, you can use this value to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value to include in a future ListVirtualGateways
request. When the results of a ListVirtualGateways
request exceed limit
, you can use this value to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value to include in a future ListVirtualGateways
request. When the results of a ListVirtualGateways
request exceed limit
, you can use this value to retrieve the next page of results. This value is null
when there are no more results to return.
sourcepub fn build(self) -> Result<ListVirtualGatewaysOutput, BuildError>
pub fn build(self) -> Result<ListVirtualGatewaysOutput, BuildError>
Consumes the builder and constructs a ListVirtualGatewaysOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListVirtualGatewaysOutputBuilder
impl Clone for ListVirtualGatewaysOutputBuilder
source§fn clone(&self) -> ListVirtualGatewaysOutputBuilder
fn clone(&self) -> ListVirtualGatewaysOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListVirtualGatewaysOutputBuilder
impl Default for ListVirtualGatewaysOutputBuilder
source§fn default() -> ListVirtualGatewaysOutputBuilder
fn default() -> ListVirtualGatewaysOutputBuilder
source§impl PartialEq for ListVirtualGatewaysOutputBuilder
impl PartialEq for ListVirtualGatewaysOutputBuilder
source§fn eq(&self, other: &ListVirtualGatewaysOutputBuilder) -> bool
fn eq(&self, other: &ListVirtualGatewaysOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.