Struct aws_sdk_ec2::model::network_card_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkCardInfo
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn network_card_index(self, input: i32) -> Self
pub fn network_card_index(self, input: i32) -> Self
The index of the network card.
sourcepub fn set_network_card_index(self, input: Option<i32>) -> Self
pub fn set_network_card_index(self, input: Option<i32>) -> Self
The index of the network card.
sourcepub fn network_performance(self, input: impl Into<String>) -> Self
pub fn network_performance(self, input: impl Into<String>) -> Self
The network performance of the network card.
sourcepub fn set_network_performance(self, input: Option<String>) -> Self
pub fn set_network_performance(self, input: Option<String>) -> Self
The network performance of the network card.
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 network card.
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 network card.
sourcepub fn build(self) -> NetworkCardInfo
pub fn build(self) -> NetworkCardInfo
Consumes the builder and constructs a NetworkCardInfo
.