Struct aws_sdk_drs::types::builders::SourcePropertiesBuilder
source · #[non_exhaustive]pub struct SourcePropertiesBuilder { /* private fields */ }Expand description
A builder for SourceProperties.
Implementations§
source§impl SourcePropertiesBuilder
impl SourcePropertiesBuilder
sourcepub fn last_updated_date_time(self, input: impl Into<String>) -> Self
pub fn last_updated_date_time(self, input: impl Into<String>) -> Self
The date and time the Source Properties were last updated on.
sourcepub fn set_last_updated_date_time(self, input: Option<String>) -> Self
pub fn set_last_updated_date_time(self, input: Option<String>) -> Self
The date and time the Source Properties were last updated on.
sourcepub fn get_last_updated_date_time(&self) -> &Option<String>
pub fn get_last_updated_date_time(&self) -> &Option<String>
The date and time the Source Properties were last updated on.
sourcepub fn recommended_instance_type(self, input: impl Into<String>) -> Self
pub fn recommended_instance_type(self, input: impl Into<String>) -> Self
The recommended EC2 instance type that will be used when recovering the Source Server.
sourcepub fn set_recommended_instance_type(self, input: Option<String>) -> Self
pub fn set_recommended_instance_type(self, input: Option<String>) -> Self
The recommended EC2 instance type that will be used when recovering the Source Server.
sourcepub fn get_recommended_instance_type(&self) -> &Option<String>
pub fn get_recommended_instance_type(&self) -> &Option<String>
The recommended EC2 instance type that will be used when recovering the Source Server.
sourcepub fn identification_hints(self, input: IdentificationHints) -> Self
pub fn identification_hints(self, input: IdentificationHints) -> Self
Hints used to uniquely identify a machine.
sourcepub fn set_identification_hints(
self,
input: Option<IdentificationHints>
) -> Self
pub fn set_identification_hints( self, input: Option<IdentificationHints> ) -> Self
Hints used to uniquely identify a machine.
sourcepub fn get_identification_hints(&self) -> &Option<IdentificationHints>
pub fn get_identification_hints(&self) -> &Option<IdentificationHints>
Hints used to uniquely identify a machine.
sourcepub fn network_interfaces(self, input: NetworkInterface) -> Self
pub fn network_interfaces(self, input: NetworkInterface) -> Self
Appends an item to network_interfaces.
To override the contents of this collection use set_network_interfaces.
An array of network interfaces.
sourcepub fn set_network_interfaces(
self,
input: Option<Vec<NetworkInterface>>
) -> Self
pub fn set_network_interfaces( self, input: Option<Vec<NetworkInterface>> ) -> Self
An array of network interfaces.
sourcepub fn get_network_interfaces(&self) -> &Option<Vec<NetworkInterface>>
pub fn get_network_interfaces(&self) -> &Option<Vec<NetworkInterface>>
An array of network interfaces.
sourcepub fn disks(self, input: Disk) -> Self
pub fn disks(self, input: Disk) -> Self
Appends an item to disks.
To override the contents of this collection use set_disks.
An array of disks.
sourcepub fn cpus(self, input: Cpu) -> Self
pub fn cpus(self, input: Cpu) -> Self
Appends an item to cpus.
To override the contents of this collection use set_cpus.
An array of CPUs.
sourcepub fn set_ram_bytes(self, input: Option<i64>) -> Self
pub fn set_ram_bytes(self, input: Option<i64>) -> Self
The amount of RAM in bytes.
sourcepub fn get_ram_bytes(&self) -> &Option<i64>
pub fn get_ram_bytes(&self) -> &Option<i64>
The amount of RAM in bytes.
sourcepub fn supports_nitro_instances(self, input: bool) -> Self
pub fn supports_nitro_instances(self, input: bool) -> Self
Are EC2 nitro instance types supported when recovering the Source Server.
sourcepub fn set_supports_nitro_instances(self, input: Option<bool>) -> Self
pub fn set_supports_nitro_instances(self, input: Option<bool>) -> Self
Are EC2 nitro instance types supported when recovering the Source Server.
sourcepub fn get_supports_nitro_instances(&self) -> &Option<bool>
pub fn get_supports_nitro_instances(&self) -> &Option<bool>
Are EC2 nitro instance types supported when recovering the Source Server.
sourcepub fn build(self) -> SourceProperties
pub fn build(self) -> SourceProperties
Consumes the builder and constructs a SourceProperties.
Trait Implementations§
source§impl Clone for SourcePropertiesBuilder
impl Clone for SourcePropertiesBuilder
source§fn clone(&self) -> SourcePropertiesBuilder
fn clone(&self) -> SourcePropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SourcePropertiesBuilder
impl Debug for SourcePropertiesBuilder
source§impl Default for SourcePropertiesBuilder
impl Default for SourcePropertiesBuilder
source§fn default() -> SourcePropertiesBuilder
fn default() -> SourcePropertiesBuilder
source§impl PartialEq for SourcePropertiesBuilder
impl PartialEq for SourcePropertiesBuilder
source§fn eq(&self, other: &SourcePropertiesBuilder) -> bool
fn eq(&self, other: &SourcePropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.