Struct aws_sdk_backupgateway::operation::list_hypervisors::builders::ListHypervisorsOutputBuilder
source · #[non_exhaustive]pub struct ListHypervisorsOutputBuilder { /* private fields */ }
Expand description
A builder for ListHypervisorsOutput
.
Implementations§
source§impl ListHypervisorsOutputBuilder
impl ListHypervisorsOutputBuilder
sourcepub fn hypervisors(self, input: Hypervisor) -> Self
pub fn hypervisors(self, input: Hypervisor) -> Self
Appends an item to hypervisors
.
To override the contents of this collection use set_hypervisors
.
A list of your Hypervisor
objects, ordered by their Amazon Resource Names (ARNs).
sourcepub fn set_hypervisors(self, input: Option<Vec<Hypervisor>>) -> Self
pub fn set_hypervisors(self, input: Option<Vec<Hypervisor>>) -> Self
A list of your Hypervisor
objects, ordered by their Amazon Resource Names (ARNs).
sourcepub fn get_hypervisors(&self) -> &Option<Vec<Hypervisor>>
pub fn get_hypervisors(&self) -> &Option<Vec<Hypervisor>>
A list of your Hypervisor
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) -> ListHypervisorsOutput
pub fn build(self) -> ListHypervisorsOutput
Consumes the builder and constructs a ListHypervisorsOutput
.
Trait Implementations§
source§impl Clone for ListHypervisorsOutputBuilder
impl Clone for ListHypervisorsOutputBuilder
source§fn clone(&self) -> ListHypervisorsOutputBuilder
fn clone(&self) -> ListHypervisorsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListHypervisorsOutputBuilder
impl Debug for ListHypervisorsOutputBuilder
source§impl Default for ListHypervisorsOutputBuilder
impl Default for ListHypervisorsOutputBuilder
source§fn default() -> ListHypervisorsOutputBuilder
fn default() -> ListHypervisorsOutputBuilder
source§impl PartialEq for ListHypervisorsOutputBuilder
impl PartialEq for ListHypervisorsOutputBuilder
source§fn eq(&self, other: &ListHypervisorsOutputBuilder) -> bool
fn eq(&self, other: &ListHypervisorsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.