#[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) -> &[String]
pub fn ipv6_addresses(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ipv6_addresses.is_none()
.
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) -> &[String]
pub fn ipv6_prefixes(&self) -> &[String]
One or more IPv6 prefixes assigned to the network interface. You cannot use this option if you use the Ipv6PrefixCount
option.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ipv6_prefixes.is_none()
.
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 for AssignIpv6AddressesInput
impl PartialEq 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 ==
.impl StructuralPartialEq for AssignIpv6AddressesInput
Auto Trait Implementations§
impl Freeze for AssignIpv6AddressesInput
impl RefUnwindSafe for AssignIpv6AddressesInput
impl Send for AssignIpv6AddressesInput
impl Sync for AssignIpv6AddressesInput
impl Unpin for AssignIpv6AddressesInput
impl UnwindSafe for AssignIpv6AddressesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more