Struct aws_sdk_ec2::model::launch_template_instance_network_interface_specification::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for LaunchTemplateInstanceNetworkInterfaceSpecification
Implementations
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
Indicates whether to associate a Carrier IP address with eth0 for a new network interface.
Use this option when you launch an instance in a Wavelength Zone and want to associate a Carrier IP address with the network interface. For more information about Carrier IP addresses, see Carrier IP addresses in the Wavelength Developer Guide.
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
Indicates whether the network interface is deleted when the instance is terminated.
Indicates whether the network interface is deleted when the instance is terminated.
A description for the network interface.
A description for the network interface.
The device index for the network interface attachment.
The device index for the network interface attachment.
Appends an item to groups
.
To override the contents of this collection use set_groups
.
The IDs of one or more security groups.
The IDs of one or more security groups.
The type of network interface.
The type of network interface.
The number of IPv6 addresses for the network interface.
The number of IPv6 addresses for the network interface.
Appends an item to ipv6_addresses
.
To override the contents of this collection use set_ipv6_addresses
.
The IPv6 addresses for the network interface.
The IPv6 addresses for the network interface.
The ID of the network interface.
The ID of the network interface.
The primary private IPv4 address of the network interface.
The primary private IPv4 address of the network interface.
Appends an item to private_ip_addresses
.
To override the contents of this collection use set_private_ip_addresses
.
One or more private IPv4 addresses.
pub fn set_private_ip_addresses(
self,
input: Option<Vec<PrivateIpAddressSpecification>>
) -> Self
pub fn set_private_ip_addresses(
self,
input: Option<Vec<PrivateIpAddressSpecification>>
) -> Self
One or more private IPv4 addresses.
The number of secondary private IPv4 addresses for the network interface.
The number of secondary private IPv4 addresses for the network interface.
The ID of the subnet for the network interface.
The ID of the subnet for the network interface.
The index of the network card.
The index of the network card.
Appends an item to ipv4_prefixes
.
To override the contents of this collection use set_ipv4_prefixes
.
One or more IPv4 prefixes assigned to the network interface.
One or more IPv4 prefixes assigned to the network interface.
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
The number of IPv4 prefixes that Amazon Web Services automatically assigned to the network interface.
Appends an item to ipv6_prefixes
.
To override the contents of this collection use set_ipv6_prefixes
.
One or more IPv6 prefixes assigned to the network interface.
One or more IPv6 prefixes assigned to the network interface.
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
The number of IPv6 prefixes that Amazon Web Services automatically assigned to the network interface.
Consumes the builder and constructs a LaunchTemplateInstanceNetworkInterfaceSpecification
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