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<NetworkInterfaceAssociation> for NetworkInterfaceAssociation
impl PartialEq<NetworkInterfaceAssociation> 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 ==
.