Struct aws_sdk_drs::types::SourceProperties
source · #[non_exhaustive]pub struct SourceProperties {
pub last_updated_date_time: Option<String>,
pub recommended_instance_type: Option<String>,
pub identification_hints: Option<IdentificationHints>,
pub network_interfaces: Option<Vec<NetworkInterface>>,
pub disks: Option<Vec<Disk>>,
pub cpus: Option<Vec<Cpu>>,
pub ram_bytes: i64,
pub os: Option<Os>,
pub supports_nitro_instances: Option<bool>,
}Expand description
Properties of the Source Server machine.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.last_updated_date_time: Option<String>The date and time the Source Properties were last updated on.
recommended_instance_type: Option<String>The recommended EC2 instance type that will be used when recovering the Source Server.
identification_hints: Option<IdentificationHints>Hints used to uniquely identify a machine.
network_interfaces: Option<Vec<NetworkInterface>>An array of network interfaces.
disks: Option<Vec<Disk>>An array of disks.
cpus: Option<Vec<Cpu>>An array of CPUs.
ram_bytes: i64The amount of RAM in bytes.
os: Option<Os>Operating system.
supports_nitro_instances: Option<bool>Are EC2 nitro instance types supported when recovering the Source Server.
Implementations§
source§impl SourceProperties
impl SourceProperties
sourcepub fn last_updated_date_time(&self) -> Option<&str>
pub fn last_updated_date_time(&self) -> Option<&str>
The date and time the Source Properties were last updated on.
sourcepub fn recommended_instance_type(&self) -> Option<&str>
pub fn recommended_instance_type(&self) -> Option<&str>
The recommended EC2 instance type that will be used when recovering the Source Server.
sourcepub fn identification_hints(&self) -> Option<&IdentificationHints>
pub fn identification_hints(&self) -> Option<&IdentificationHints>
Hints used to uniquely identify a machine.
sourcepub fn network_interfaces(&self) -> &[NetworkInterface]
pub fn network_interfaces(&self) -> &[NetworkInterface]
An array of network interfaces.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .network_interfaces.is_none().
sourcepub fn disks(&self) -> &[Disk]
pub fn disks(&self) -> &[Disk]
An array of disks.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .disks.is_none().
sourcepub fn cpus(&self) -> &[Cpu]
pub fn cpus(&self) -> &[Cpu]
An array of CPUs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cpus.is_none().
sourcepub fn supports_nitro_instances(&self) -> Option<bool>
pub fn supports_nitro_instances(&self) -> Option<bool>
Are EC2 nitro instance types supported when recovering the Source Server.
source§impl SourceProperties
impl SourceProperties
sourcepub fn builder() -> SourcePropertiesBuilder
pub fn builder() -> SourcePropertiesBuilder
Creates a new builder-style object to manufacture SourceProperties.
Trait Implementations§
source§impl Clone for SourceProperties
impl Clone for SourceProperties
source§fn clone(&self) -> SourceProperties
fn clone(&self) -> SourceProperties
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SourceProperties
impl Debug for SourceProperties
source§impl PartialEq for SourceProperties
impl PartialEq for SourceProperties
source§fn eq(&self, other: &SourceProperties) -> bool
fn eq(&self, other: &SourceProperties) -> bool
self and other values to be equal, and is used
by ==.