Struct aws_sdk_ec2::model::NetworkInterfaceAssociation
source · #[non_exhaustive]pub struct NetworkInterfaceAssociation { /* private fields */ }
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).
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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NetworkInterfaceAssociation
impl Debug for NetworkInterfaceAssociation
source§impl PartialEq<NetworkInterfaceAssociation> for NetworkInterfaceAssociation
impl PartialEq<NetworkInterfaceAssociation> for NetworkInterfaceAssociation
source§fn eq(&self, other: &NetworkInterfaceAssociation) -> bool
fn eq(&self, other: &NetworkInterfaceAssociation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.