Struct aws_sdk_ec2::model::network_interface::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for NetworkInterface
Implementations
The association information for an Elastic IP address (IPv4) associated with the network interface.
The association information for an Elastic IP address (IPv4) associated with the network interface.
The network interface attachment.
The network interface attachment.
The Availability Zone.
The Availability Zone.
A description.
A description.
Appends an item to groups
.
To override the contents of this collection use set_groups
.
Any security groups for the network interface.
Any security groups for the network interface.
The type of network interface.
The type of network interface.
Appends an item to ipv6_addresses
.
To override the contents of this collection use set_ipv6_addresses
.
The IPv6 addresses associated with the network interface.
The IPv6 addresses associated with the network interface.
The MAC address.
The MAC address.
The ID of the network interface.
The ID of the network interface.
The Amazon Resource Name (ARN) of the Outpost.
The Amazon Resource Name (ARN) of the Outpost.
The Amazon Web Services account ID of the owner of the network interface.
The Amazon Web Services account ID of the owner of the network interface.
The private DNS name.
The private DNS name.
The IPv4 address of the network interface within the subnet.
The IPv4 address of the network interface within the subnet.
Appends an item to private_ip_addresses
.
To override the contents of this collection use set_private_ip_addresses
.
The private IPv4 addresses associated with the network interface.
pub fn set_private_ip_addresses(
self,
input: Option<Vec<NetworkInterfacePrivateIpAddress>>
) -> Self
pub fn set_private_ip_addresses(
self,
input: Option<Vec<NetworkInterfacePrivateIpAddress>>
) -> Self
The private IPv4 addresses associated with the network interface.
Appends an item to ipv4_prefixes
.
To override the contents of this collection use set_ipv4_prefixes
.
The IPv4 prefixes that are assigned to the network interface.
The IPv4 prefixes that are assigned to the network interface.
Appends an item to ipv6_prefixes
.
To override the contents of this collection use set_ipv6_prefixes
.
The IPv6 prefixes that are assigned to the network interface.
The IPv6 prefixes that are assigned to the network interface.
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
Indicates whether the network interface is being managed by Amazon Web Services.
Indicates whether the network interface is being managed by Amazon Web Services.
Indicates whether source/destination checking is enabled.
Indicates whether source/destination checking is enabled.
The status of the network interface.
The status of the network interface.
The ID of the subnet.
Appends an item to tag_set
.
To override the contents of this collection use set_tag_set
.
Any tags assigned to the network interface.
Any tags assigned to the network interface.
The ID of the VPC.
Indicates whether a network interface with an IPv6 address is unreachable from the
public internet. If the value is true
, inbound traffic from the internet
is dropped and you cannot assign an elastic IP address to the network interface. The
network interface is reachable from peered VPCs and resources connected through a
transit gateway, including on-premises networks.
Indicates whether a network interface with an IPv6 address is unreachable from the
public internet. If the value is true
, inbound traffic from the internet
is dropped and you cannot assign an elastic IP address to the network interface. The
network interface is reachable from peered VPCs and resources connected through a
transit gateway, including on-premises networks.
Consumes the builder and constructs a NetworkInterface
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more