Struct aws_sdk_ec2::model::Address
source · [−]#[non_exhaustive]pub struct Address {Show 14 fields
pub instance_id: Option<String>,
pub public_ip: Option<String>,
pub allocation_id: Option<String>,
pub association_id: Option<String>,
pub domain: Option<DomainType>,
pub network_interface_id: Option<String>,
pub network_interface_owner_id: Option<String>,
pub private_ip_address: Option<String>,
pub tags: Option<Vec<Tag>>,
pub public_ipv4_pool: Option<String>,
pub network_border_group: Option<String>,
pub customer_owned_ip: Option<String>,
pub customer_owned_ipv4_pool: Option<String>,
pub carrier_ip: Option<String>,
}
Expand description
Describes an Elastic IP address, or a carrier IP address.
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.instance_id: Option<String>
The ID of the instance that the address is associated with (if any).
public_ip: Option<String>
The Elastic IP address.
allocation_id: Option<String>
The ID representing the allocation of the address for use with EC2-VPC.
association_id: Option<String>
The ID representing the association of the address with an instance in a VPC.
domain: Option<DomainType>
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or instances in a VPC (vpc
).
network_interface_id: Option<String>
The ID of the network interface.
network_interface_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the network interface.
private_ip_address: Option<String>
The private IP address associated with the Elastic IP address.
Any tags assigned to the Elastic IP address.
public_ipv4_pool: Option<String>
The ID of an address pool.
network_border_group: Option<String>
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
customer_owned_ip: Option<String>
The customer-owned IP address.
customer_owned_ipv4_pool: Option<String>
The ID of the customer-owned address pool.
carrier_ip: Option<String>
The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
Implementations
sourceimpl Address
impl Address
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance that the address is associated with (if any).
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
The ID representing the allocation of the address for use with EC2-VPC.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID representing the association of the address with an instance in a VPC.
sourcepub fn domain(&self) -> Option<&DomainType>
pub fn domain(&self) -> Option<&DomainType>
Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard
) or instances in a VPC (vpc
).
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface.
sourcepub fn network_interface_owner_id(&self) -> Option<&str>
pub fn network_interface_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the network interface.
sourcepub fn private_ip_address(&self) -> Option<&str>
pub fn private_ip_address(&self) -> Option<&str>
The private IP address associated with the Elastic IP address.
Any tags assigned to the Elastic IP address.
sourcepub fn public_ipv4_pool(&self) -> Option<&str>
pub fn public_ipv4_pool(&self) -> Option<&str>
The ID of an address pool.
sourcepub fn network_border_group(&self) -> Option<&str>
pub fn network_border_group(&self) -> Option<&str>
The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.
sourcepub fn customer_owned_ip(&self) -> Option<&str>
pub fn customer_owned_ip(&self) -> Option<&str>
The customer-owned IP address.
sourcepub fn customer_owned_ipv4_pool(&self) -> Option<&str>
pub fn customer_owned_ipv4_pool(&self) -> Option<&str>
The ID of the customer-owned address pool.
sourcepub fn carrier_ip(&self) -> Option<&str>
pub fn carrier_ip(&self) -> Option<&str>
The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).
Trait Implementations
impl StructuralPartialEq for Address
Auto Trait Implementations
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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