pub struct Builder { /* private fields */ }Expand description
A builder for ListVirtualRoutersOutput.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> ListVirtualRoutersOutput
pub fn build(self) -> ListVirtualRoutersOutput
Consumes the builder and constructs a ListVirtualRoutersOutput.