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) -> Result<ListGatewayRoutesOutput, BuildError>
pub fn build(self) -> Result<ListGatewayRoutesOutput, BuildError>
Consumes the builder and constructs a ListGatewayRoutesOutput.
This method will fail if any of the following fields are not set:
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 for ListGatewayRoutesOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for ListGatewayRoutesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListGatewayRoutesOutputBuilder
impl RefUnwindSafe for ListGatewayRoutesOutputBuilder
impl Send for ListGatewayRoutesOutputBuilder
impl Sync for ListGatewayRoutesOutputBuilder
impl Unpin for ListGatewayRoutesOutputBuilder
impl UnwindSafe for ListGatewayRoutesOutputBuilder
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