Struct aws_sdk_ec2::model::network_info::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkInfo
.
Implementations
sourceimpl 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 build(self) -> NetworkInfo
pub fn build(self) -> NetworkInfo
Consumes the builder and constructs a NetworkInfo
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more