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 ==.impl StructuralPartialEq for ListVirtualMachinesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListVirtualMachinesOutputBuilder
impl RefUnwindSafe for ListVirtualMachinesOutputBuilder
impl Send for ListVirtualMachinesOutputBuilder
impl Sync for ListVirtualMachinesOutputBuilder
impl Unpin for ListVirtualMachinesOutputBuilder
impl UnwindSafe for ListVirtualMachinesOutputBuilder
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> 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