Struct aws_sdk_appmesh::operation::list_virtual_routers::builders::ListVirtualRoutersOutputBuilder
source · #[non_exhaustive]pub struct ListVirtualRoutersOutputBuilder { /* private fields */ }Expand description
A builder for ListVirtualRoutersOutput.
Implementations§
source§impl ListVirtualRoutersOutputBuilder
impl ListVirtualRoutersOutputBuilder
sourcepub fn virtual_routers(self, input: VirtualRouterRef) -> Self
pub fn virtual_routers(self, input: VirtualRouterRef) -> Self
Appends an item to virtual_routers.
To override the contents of this collection use set_virtual_routers.
The list of existing virtual routers for the specified service mesh.
sourcepub fn set_virtual_routers(self, input: Option<Vec<VirtualRouterRef>>) -> Self
pub fn set_virtual_routers(self, input: Option<Vec<VirtualRouterRef>>) -> Self
The list of existing virtual routers for the specified service mesh.
sourcepub fn get_virtual_routers(&self) -> &Option<Vec<VirtualRouterRef>>
pub fn get_virtual_routers(&self) -> &Option<Vec<VirtualRouterRef>>
The list of existing virtual routers 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 ListVirtualRouters request. When the results of a ListVirtualRouters 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 ListVirtualRouters request. When the results of a ListVirtualRouters 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 ListVirtualRouters request. When the results of a ListVirtualRouters 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<ListVirtualRoutersOutput, BuildError>
pub fn build(self) -> Result<ListVirtualRoutersOutput, BuildError>
Consumes the builder and constructs a ListVirtualRoutersOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListVirtualRoutersOutputBuilder
impl Clone for ListVirtualRoutersOutputBuilder
source§fn clone(&self) -> ListVirtualRoutersOutputBuilder
fn clone(&self) -> ListVirtualRoutersOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListVirtualRoutersOutputBuilder
impl Default for ListVirtualRoutersOutputBuilder
source§fn default() -> ListVirtualRoutersOutputBuilder
fn default() -> ListVirtualRoutersOutputBuilder
source§impl PartialEq for ListVirtualRoutersOutputBuilder
impl PartialEq for ListVirtualRoutersOutputBuilder
source§fn eq(&self, other: &ListVirtualRoutersOutputBuilder) -> bool
fn eq(&self, other: &ListVirtualRoutersOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListVirtualRoutersOutputBuilder
Auto Trait Implementations§
impl Freeze for ListVirtualRoutersOutputBuilder
impl RefUnwindSafe for ListVirtualRoutersOutputBuilder
impl Send for ListVirtualRoutersOutputBuilder
impl Sync for ListVirtualRoutersOutputBuilder
impl Unpin for ListVirtualRoutersOutputBuilder
impl UnwindSafe for ListVirtualRoutersOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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