Struct aws_sdk_backupgateway::operation::list_virtual_machines::builders::ListVirtualMachinesOutputBuilder
source · #[non_exhaustive]pub struct ListVirtualMachinesOutputBuilder { /* private fields */ }Expand description
A builder for ListVirtualMachinesOutput.
Implementations§
source§impl ListVirtualMachinesOutputBuilder
impl ListVirtualMachinesOutputBuilder
sourcepub fn virtual_machines(self, input: VirtualMachine) -> Self
pub fn virtual_machines(self, input: VirtualMachine) -> Self
Appends an item to virtual_machines.
To override the contents of this collection use set_virtual_machines.
A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).
sourcepub fn set_virtual_machines(self, input: Option<Vec<VirtualMachine>>) -> Self
pub fn set_virtual_machines(self, input: Option<Vec<VirtualMachine>>) -> Self
A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).
sourcepub fn get_virtual_machines(&self) -> &Option<Vec<VirtualMachine>>
pub fn get_virtual_machines(&self) -> &Option<Vec<VirtualMachine>>
A list of your VirtualMachine objects, ordered by their Amazon Resource Names (ARNs).
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next item following a partial list of returned resources. For example, if a request is made to return maxResults number of resources, NextToken allows you to return more items in your list starting at the location pointed to by the next token.
sourcepub fn build(self) -> ListVirtualMachinesOutput
pub fn build(self) -> ListVirtualMachinesOutput
Consumes the builder and constructs a ListVirtualMachinesOutput.
Trait Implementations§
source§impl Clone for ListVirtualMachinesOutputBuilder
impl Clone for ListVirtualMachinesOutputBuilder
source§fn clone(&self) -> ListVirtualMachinesOutputBuilder
fn clone(&self) -> ListVirtualMachinesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListVirtualMachinesOutputBuilder
impl Default for ListVirtualMachinesOutputBuilder
source§fn default() -> ListVirtualMachinesOutputBuilder
fn default() -> ListVirtualMachinesOutputBuilder
source§impl PartialEq for ListVirtualMachinesOutputBuilder
impl PartialEq for ListVirtualMachinesOutputBuilder
source§fn eq(&self, other: &ListVirtualMachinesOutputBuilder) -> bool
fn eq(&self, other: &ListVirtualMachinesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.