#[non_exhaustive]pub struct AssignIpv6AddressesInput {
pub ipv6_address_count: Option<i32>,
pub ipv6_addresses: Option<Vec<String>>,
pub ipv6_prefix_count: Option<i32>,
pub ipv6_prefixes: Option<Vec<String>>,
pub network_interface_id: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ipv6_address_count: Option<i32>
The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
ipv6_addresses: Option<Vec<String>>
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
ipv6_prefix_count: Option<i32>
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv6Prefixes
option.
ipv6_prefixes: Option<Vec<String>>
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount
option.
network_interface_id: Option<String>
The ID of the network interface.
Implementations§
source§impl AssignIpv6AddressesInput
impl AssignIpv6AddressesInput
sourcepub fn ipv6_address_count(&self) -> Option<i32>
pub fn ipv6_address_count(&self) -> Option<i32>
The number of additional IPv6 addresses to assign to the network interface. The specified number of IPv6 addresses are assigned in addition to the existing IPv6 addresses that are already assigned to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
sourcepub fn ipv6_addresses(&self) -> Option<&[String]>
pub fn ipv6_addresses(&self) -> Option<&[String]>
The IPv6 addresses to be assigned to the network interface. You can't use this option if you're specifying a number of IPv6 addresses.
sourcepub fn ipv6_prefix_count(&self) -> Option<i32>
pub fn ipv6_prefix_count(&self) -> Option<i32>
The number of IPv6 prefixes that Amazon Web Services automatically assigns to the network interface. You cannot use this option if you use the Ipv6Prefixes
option.
sourcepub fn ipv6_prefixes(&self) -> Option<&[String]>
pub fn ipv6_prefixes(&self) -> Option<&[String]>
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount
option.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
source§impl AssignIpv6AddressesInput
impl AssignIpv6AddressesInput
sourcepub fn builder() -> AssignIpv6AddressesInputBuilder
pub fn builder() -> AssignIpv6AddressesInputBuilder
Creates a new builder-style object to manufacture AssignIpv6AddressesInput
.
Trait Implementations§
source§impl Clone for AssignIpv6AddressesInput
impl Clone for AssignIpv6AddressesInput
source§fn clone(&self) -> AssignIpv6AddressesInput
fn clone(&self) -> AssignIpv6AddressesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssignIpv6AddressesInput
impl Debug for AssignIpv6AddressesInput
source§impl PartialEq<AssignIpv6AddressesInput> for AssignIpv6AddressesInput
impl PartialEq<AssignIpv6AddressesInput> for AssignIpv6AddressesInput
source§fn eq(&self, other: &AssignIpv6AddressesInput) -> bool
fn eq(&self, other: &AssignIpv6AddressesInput) -> bool
self
and other
values to be equal, and is used
by ==
.