Struct aws_sdk_ec2::types::NetworkInterfaceAssociation
source · #[non_exhaustive]pub struct NetworkInterfaceAssociation {
pub allocation_id: Option<String>,
pub association_id: Option<String>,
pub ip_owner_id: Option<String>,
pub public_dns_name: Option<String>,
pub public_ip: Option<String>,
pub customer_owned_ip: Option<String>,
pub carrier_ip: Option<String>,
}
Expand description
Describes association information for an Elastic IP address (IPv4 only), or a Carrier IP address (for a network interface which resides in a subnet in a Wavelength Zone).
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.allocation_id: Option<String>
The allocation ID.
association_id: Option<String>
The association ID.
ip_owner_id: Option<String>
The ID of the Elastic IP address owner.
public_dns_name: Option<String>
The public DNS name.
public_ip: Option<String>
The address of the Elastic IP address bound to the network interface.
customer_owned_ip: Option<String>
The customer-owned IP address associated with the network interface.
carrier_ip: Option<String>
The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
Implementations§
source§impl NetworkInterfaceAssociation
impl NetworkInterfaceAssociation
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
The allocation ID.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The association ID.
sourcepub fn ip_owner_id(&self) -> Option<&str>
pub fn ip_owner_id(&self) -> Option<&str>
The ID of the Elastic IP address owner.
sourcepub fn public_dns_name(&self) -> Option<&str>
pub fn public_dns_name(&self) -> Option<&str>
The public DNS name.
sourcepub fn public_ip(&self) -> Option<&str>
pub fn public_ip(&self) -> Option<&str>
The address of the Elastic IP address bound to the network interface.
sourcepub fn customer_owned_ip(&self) -> Option<&str>
pub fn customer_owned_ip(&self) -> Option<&str>
The customer-owned IP address associated with the network interface.
sourcepub fn carrier_ip(&self) -> Option<&str>
pub fn carrier_ip(&self) -> Option<&str>
The carrier IP address associated with the network interface.
This option is only available when the network interface is in a subnet which is associated with a Wavelength Zone.
source§impl NetworkInterfaceAssociation
impl NetworkInterfaceAssociation
sourcepub fn builder() -> NetworkInterfaceAssociationBuilder
pub fn builder() -> NetworkInterfaceAssociationBuilder
Creates a new builder-style object to manufacture NetworkInterfaceAssociation
.
Trait Implementations§
source§impl Clone for NetworkInterfaceAssociation
impl Clone for NetworkInterfaceAssociation
source§fn clone(&self) -> NetworkInterfaceAssociation
fn clone(&self) -> NetworkInterfaceAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NetworkInterfaceAssociation
impl Debug for NetworkInterfaceAssociation
source§impl PartialEq for NetworkInterfaceAssociation
impl PartialEq for NetworkInterfaceAssociation
source§fn eq(&self, other: &NetworkInterfaceAssociation) -> bool
fn eq(&self, other: &NetworkInterfaceAssociation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkInterfaceAssociation
Auto Trait Implementations§
impl Freeze for NetworkInterfaceAssociation
impl RefUnwindSafe for NetworkInterfaceAssociation
impl Send for NetworkInterfaceAssociation
impl Sync for NetworkInterfaceAssociation
impl Unpin for NetworkInterfaceAssociation
impl UnwindSafe for NetworkInterfaceAssociation
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