Struct aws_sdk_ec2::operation::search_local_gateway_routes::builders::SearchLocalGatewayRoutesOutputBuilder
source · #[non_exhaustive]pub struct SearchLocalGatewayRoutesOutputBuilder { /* private fields */ }Expand description
A builder for SearchLocalGatewayRoutesOutput.
Implementations§
source§impl SearchLocalGatewayRoutesOutputBuilder
impl SearchLocalGatewayRoutesOutputBuilder
sourcepub fn routes(self, input: LocalGatewayRoute) -> Self
pub fn routes(self, input: LocalGatewayRoute) -> Self
Appends an item to routes.
To override the contents of this collection use set_routes.
Information about the routes.
sourcepub fn set_routes(self, input: Option<Vec<LocalGatewayRoute>>) -> Self
pub fn set_routes(self, input: Option<Vec<LocalGatewayRoute>>) -> Self
Information about the routes.
sourcepub fn get_routes(&self) -> &Option<Vec<LocalGatewayRoute>>
pub fn get_routes(&self) -> &Option<Vec<LocalGatewayRoute>>
Information about the routes.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use 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 token to use 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 token to use to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> SearchLocalGatewayRoutesOutput
pub fn build(self) -> SearchLocalGatewayRoutesOutput
Consumes the builder and constructs a SearchLocalGatewayRoutesOutput.
Trait Implementations§
source§impl Clone for SearchLocalGatewayRoutesOutputBuilder
impl Clone for SearchLocalGatewayRoutesOutputBuilder
source§fn clone(&self) -> SearchLocalGatewayRoutesOutputBuilder
fn clone(&self) -> SearchLocalGatewayRoutesOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for SearchLocalGatewayRoutesOutputBuilder
impl Default for SearchLocalGatewayRoutesOutputBuilder
source§fn default() -> SearchLocalGatewayRoutesOutputBuilder
fn default() -> SearchLocalGatewayRoutesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SearchLocalGatewayRoutesOutputBuilder
impl PartialEq for SearchLocalGatewayRoutesOutputBuilder
source§fn eq(&self, other: &SearchLocalGatewayRoutesOutputBuilder) -> bool
fn eq(&self, other: &SearchLocalGatewayRoutesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchLocalGatewayRoutesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SearchLocalGatewayRoutesOutputBuilder
impl Send for SearchLocalGatewayRoutesOutputBuilder
impl Sync for SearchLocalGatewayRoutesOutputBuilder
impl Unpin for SearchLocalGatewayRoutesOutputBuilder
impl UnwindSafe for SearchLocalGatewayRoutesOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.