pub struct Builder { /* private fields */ }
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.

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.

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.

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.

Indicates whether this is an IPv6 only network interface.

Indicates whether this is an IPv6 only network interface.

The IPv6 globally unique address associated with the network interface.

The IPv6 globally unique address associated with the network interface.

Consumes the builder and constructs a NetworkInterface.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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