Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl NetworkInterfaceAssociation
impl NetworkInterfaceAssociation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkInterfaceAssociation
.
Trait Implementations
sourceimpl Clone for NetworkInterfaceAssociation
impl Clone for NetworkInterfaceAssociation
sourcefn clone(&self) -> NetworkInterfaceAssociation
fn clone(&self) -> NetworkInterfaceAssociation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NetworkInterfaceAssociation
impl Debug for NetworkInterfaceAssociation
sourceimpl PartialEq<NetworkInterfaceAssociation> for NetworkInterfaceAssociation
impl PartialEq<NetworkInterfaceAssociation> for NetworkInterfaceAssociation
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &NetworkInterfaceAssociation) -> bool
fn ne(&self, other: &NetworkInterfaceAssociation) -> bool
This method tests for !=
.
impl StructuralPartialEq for NetworkInterfaceAssociation
Auto Trait Implementations
impl RefUnwindSafe for NetworkInterfaceAssociation
impl Send for NetworkInterfaceAssociation
impl Sync for NetworkInterfaceAssociation
impl Unpin for NetworkInterfaceAssociation
impl UnwindSafe for NetworkInterfaceAssociation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more