Struct aws_sdk_ec2::model::network_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn network_performance(self, input: impl Into<String>) -> Self
pub fn network_performance(self, input: impl Into<String>) -> Self
The network performance.
sourcepub fn set_network_performance(self, input: Option<String>) -> Self
pub fn set_network_performance(self, input: Option<String>) -> Self
The network performance.
sourcepub fn maximum_network_interfaces(self, input: i32) -> Self
pub fn maximum_network_interfaces(self, input: i32) -> Self
The maximum number of network interfaces for the instance type.
sourcepub fn set_maximum_network_interfaces(self, input: Option<i32>) -> Self
pub fn set_maximum_network_interfaces(self, input: Option<i32>) -> Self
The maximum number of network interfaces for the instance type.
sourcepub fn maximum_network_cards(self, input: i32) -> Self
pub fn maximum_network_cards(self, input: i32) -> Self
The maximum number of physical network cards that can be allocated to the instance.
sourcepub fn set_maximum_network_cards(self, input: Option<i32>) -> Self
pub fn set_maximum_network_cards(self, input: Option<i32>) -> Self
The maximum number of physical network cards that can be allocated to the instance.
sourcepub fn default_network_card_index(self, input: i32) -> Self
pub fn default_network_card_index(self, input: i32) -> Self
The index of the default network card, starting at 0.
sourcepub fn set_default_network_card_index(self, input: Option<i32>) -> Self
pub fn set_default_network_card_index(self, input: Option<i32>) -> Self
The index of the default network card, starting at 0.
sourcepub fn network_cards(self, input: NetworkCardInfo) -> Self
pub fn network_cards(self, input: NetworkCardInfo) -> Self
Appends an item to network_cards
.
To override the contents of this collection use set_network_cards
.
Describes the network cards for the instance type.
sourcepub fn set_network_cards(self, input: Option<Vec<NetworkCardInfo>>) -> Self
pub fn set_network_cards(self, input: Option<Vec<NetworkCardInfo>>) -> Self
Describes the network cards for the instance type.
sourcepub fn ipv4_addresses_per_interface(self, input: i32) -> Self
pub fn ipv4_addresses_per_interface(self, input: i32) -> Self
The maximum number of IPv4 addresses per network interface.
sourcepub fn set_ipv4_addresses_per_interface(self, input: Option<i32>) -> Self
pub fn set_ipv4_addresses_per_interface(self, input: Option<i32>) -> Self
The maximum number of IPv4 addresses per network interface.
sourcepub fn ipv6_addresses_per_interface(self, input: i32) -> Self
pub fn ipv6_addresses_per_interface(self, input: i32) -> Self
The maximum number of IPv6 addresses per network interface.
sourcepub fn set_ipv6_addresses_per_interface(self, input: Option<i32>) -> Self
pub fn set_ipv6_addresses_per_interface(self, input: Option<i32>) -> Self
The maximum number of IPv6 addresses per network interface.
sourcepub fn ipv6_supported(self, input: bool) -> Self
pub fn ipv6_supported(self, input: bool) -> Self
Indicates whether IPv6 is supported.
sourcepub fn set_ipv6_supported(self, input: Option<bool>) -> Self
pub fn set_ipv6_supported(self, input: Option<bool>) -> Self
Indicates whether IPv6 is supported.
sourcepub fn ena_support(self, input: EnaSupport) -> Self
pub fn ena_support(self, input: EnaSupport) -> Self
Indicates whether Elastic Network Adapter (ENA) is supported.
sourcepub fn set_ena_support(self, input: Option<EnaSupport>) -> Self
pub fn set_ena_support(self, input: Option<EnaSupport>) -> Self
Indicates whether Elastic Network Adapter (ENA) is supported.
sourcepub fn efa_supported(self, input: bool) -> Self
pub fn efa_supported(self, input: bool) -> Self
Indicates whether Elastic Fabric Adapter (EFA) is supported.
sourcepub fn set_efa_supported(self, input: Option<bool>) -> Self
pub fn set_efa_supported(self, input: Option<bool>) -> Self
Indicates whether Elastic Fabric Adapter (EFA) is supported.
sourcepub fn efa_info(self, input: EfaInfo) -> Self
pub fn efa_info(self, input: EfaInfo) -> Self
Describes the Elastic Fabric Adapters for the instance type.
sourcepub fn set_efa_info(self, input: Option<EfaInfo>) -> Self
pub fn set_efa_info(self, input: Option<EfaInfo>) -> Self
Describes the Elastic Fabric Adapters for the instance type.
sourcepub fn encryption_in_transit_supported(self, input: bool) -> Self
pub fn encryption_in_transit_supported(self, input: bool) -> Self
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
sourcepub fn set_encryption_in_transit_supported(self, input: Option<bool>) -> Self
pub fn set_encryption_in_transit_supported(self, input: Option<bool>) -> Self
Indicates whether the instance type automatically encrypts in-transit traffic between instances.
sourcepub fn ena_srd_supported(self, input: bool) -> Self
pub fn ena_srd_supported(self, input: bool) -> Self
Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
sourcepub fn set_ena_srd_supported(self, input: Option<bool>) -> Self
pub fn set_ena_srd_supported(self, input: Option<bool>) -> Self
Indicates whether the instance type supports ENA Express. ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances.
sourcepub fn build(self) -> NetworkInfo
pub fn build(self) -> NetworkInfo
Consumes the builder and constructs a NetworkInfo
.