Struct aws_sdk_backupgateway::model::VirtualMachine
source · #[non_exhaustive]pub struct VirtualMachine { /* private fields */ }
Expand description
A virtual machine that is on a hypervisor.
Implementations§
source§impl VirtualMachine
impl VirtualMachine
sourcepub fn hypervisor_id(&self) -> Option<&str>
pub fn hypervisor_id(&self) -> Option<&str>
The ID of the virtual machine's hypervisor.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the virtual machine. For example, arn:aws:backup-gateway:us-west-1:0000000000000:vm/vm-0000ABCDEFGIJKL
.
sourcepub fn last_backup_date(&self) -> Option<&DateTime>
pub fn last_backup_date(&self) -> Option<&DateTime>
The most recent date a virtual machine was backed up, in Unix format and UTC time.
source§impl VirtualMachine
impl VirtualMachine
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VirtualMachine
.
Trait Implementations§
source§impl Clone for VirtualMachine
impl Clone for VirtualMachine
source§fn clone(&self) -> VirtualMachine
fn clone(&self) -> VirtualMachine
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VirtualMachine
impl Debug for VirtualMachine
source§impl PartialEq<VirtualMachine> for VirtualMachine
impl PartialEq<VirtualMachine> for VirtualMachine
source§fn eq(&self, other: &VirtualMachine) -> bool
fn eq(&self, other: &VirtualMachine) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.