Struct aws_sdk_appmesh::operation::list_gateway_routes::builders::ListGatewayRoutesOutputBuilder
source · #[non_exhaustive]pub struct ListGatewayRoutesOutputBuilder { /* private fields */ }
Expand description
A builder for ListGatewayRoutesOutput
.
Implementations§
source§impl ListGatewayRoutesOutputBuilder
impl ListGatewayRoutesOutputBuilder
sourcepub fn gateway_routes(self, input: GatewayRouteRef) -> Self
pub fn gateway_routes(self, input: GatewayRouteRef) -> Self
Appends an item to gateway_routes
.
To override the contents of this collection use set_gateway_routes
.
The list of existing gateway routes for the specified service mesh and virtual gateway.
sourcepub fn set_gateway_routes(self, input: Option<Vec<GatewayRouteRef>>) -> Self
pub fn set_gateway_routes(self, input: Option<Vec<GatewayRouteRef>>) -> Self
The list of existing gateway routes for the specified service mesh and virtual gateway.
sourcepub fn get_gateway_routes(&self) -> &Option<Vec<GatewayRouteRef>>
pub fn get_gateway_routes(&self) -> &Option<Vec<GatewayRouteRef>>
The list of existing gateway routes for the specified service mesh and virtual gateway.
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 ListGatewayRoutes
request. When the results of a ListGatewayRoutes
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 ListGatewayRoutes
request. When the results of a ListGatewayRoutes
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 ListGatewayRoutes
request. When the results of a ListGatewayRoutes
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) -> ListGatewayRoutesOutput
pub fn build(self) -> ListGatewayRoutesOutput
Consumes the builder and constructs a ListGatewayRoutesOutput
.
Trait Implementations§
source§impl Clone for ListGatewayRoutesOutputBuilder
impl Clone for ListGatewayRoutesOutputBuilder
source§fn clone(&self) -> ListGatewayRoutesOutputBuilder
fn clone(&self) -> ListGatewayRoutesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListGatewayRoutesOutputBuilder
impl Default for ListGatewayRoutesOutputBuilder
source§fn default() -> ListGatewayRoutesOutputBuilder
fn default() -> ListGatewayRoutesOutputBuilder
source§impl PartialEq<ListGatewayRoutesOutputBuilder> for ListGatewayRoutesOutputBuilder
impl PartialEq<ListGatewayRoutesOutputBuilder> for ListGatewayRoutesOutputBuilder
source§fn eq(&self, other: &ListGatewayRoutesOutputBuilder) -> bool
fn eq(&self, other: &ListGatewayRoutesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.