Struct aws_sdk_appmesh::operation::list_virtual_nodes::builders::ListVirtualNodesOutputBuilder
source · #[non_exhaustive]pub struct ListVirtualNodesOutputBuilder { /* private fields */ }Expand description
A builder for ListVirtualNodesOutput.
Implementations§
source§impl ListVirtualNodesOutputBuilder
impl ListVirtualNodesOutputBuilder
sourcepub fn virtual_nodes(self, input: VirtualNodeRef) -> Self
pub fn virtual_nodes(self, input: VirtualNodeRef) -> Self
Appends an item to virtual_nodes.
To override the contents of this collection use set_virtual_nodes.
The list of existing virtual nodes for the specified service mesh.
sourcepub fn set_virtual_nodes(self, input: Option<Vec<VirtualNodeRef>>) -> Self
pub fn set_virtual_nodes(self, input: Option<Vec<VirtualNodeRef>>) -> Self
The list of existing virtual nodes for the specified service mesh.
sourcepub fn get_virtual_nodes(&self) -> &Option<Vec<VirtualNodeRef>>
pub fn get_virtual_nodes(&self) -> &Option<Vec<VirtualNodeRef>>
The list of existing virtual nodes 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 ListVirtualNodes request. When the results of a ListVirtualNodes 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 ListVirtualNodes request. When the results of a ListVirtualNodes 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 ListVirtualNodes request. When the results of a ListVirtualNodes 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<ListVirtualNodesOutput, BuildError>
pub fn build(self) -> Result<ListVirtualNodesOutput, BuildError>
Consumes the builder and constructs a ListVirtualNodesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListVirtualNodesOutputBuilder
impl Clone for ListVirtualNodesOutputBuilder
source§fn clone(&self) -> ListVirtualNodesOutputBuilder
fn clone(&self) -> ListVirtualNodesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListVirtualNodesOutputBuilder
impl Default for ListVirtualNodesOutputBuilder
source§fn default() -> ListVirtualNodesOutputBuilder
fn default() -> ListVirtualNodesOutputBuilder
source§impl PartialEq for ListVirtualNodesOutputBuilder
impl PartialEq for ListVirtualNodesOutputBuilder
source§fn eq(&self, other: &ListVirtualNodesOutputBuilder) -> bool
fn eq(&self, other: &ListVirtualNodesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.