Struct aws_sdk_backupgateway::operation::list_virtual_machines::builders::ListVirtualMachinesInputBuilder
source · #[non_exhaustive]pub struct ListVirtualMachinesInputBuilder { /* private fields */ }
Expand description
A builder for ListVirtualMachinesInput
.
Implementations§
source§impl ListVirtualMachinesInputBuilder
impl ListVirtualMachinesInputBuilder
sourcepub fn hypervisor_arn(self, input: impl Into<String>) -> Self
pub fn hypervisor_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the hypervisor connected to your virtual machine.
sourcepub fn set_hypervisor_arn(self, input: Option<String>) -> Self
pub fn set_hypervisor_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the hypervisor connected to your virtual machine.
sourcepub fn get_hypervisor_arn(&self) -> &Option<String>
pub fn get_hypervisor_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the hypervisor connected to your virtual machine.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of virtual machines to list.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of virtual machines to list.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of virtual machines to list.
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) -> Result<ListVirtualMachinesInput, BuildError>
pub fn build(self) -> Result<ListVirtualMachinesInput, BuildError>
Consumes the builder and constructs a ListVirtualMachinesInput
.
source§impl ListVirtualMachinesInputBuilder
impl ListVirtualMachinesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListVirtualMachinesOutput, SdkError<ListVirtualMachinesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListVirtualMachinesOutput, SdkError<ListVirtualMachinesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListVirtualMachinesInputBuilder
impl Clone for ListVirtualMachinesInputBuilder
source§fn clone(&self) -> ListVirtualMachinesInputBuilder
fn clone(&self) -> ListVirtualMachinesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListVirtualMachinesInputBuilder
impl Default for ListVirtualMachinesInputBuilder
source§fn default() -> ListVirtualMachinesInputBuilder
fn default() -> ListVirtualMachinesInputBuilder
source§impl PartialEq for ListVirtualMachinesInputBuilder
impl PartialEq for ListVirtualMachinesInputBuilder
source§fn eq(&self, other: &ListVirtualMachinesInputBuilder) -> bool
fn eq(&self, other: &ListVirtualMachinesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.