Struct aws_sdk_ec2::types::NatGatewayAddress
source · #[non_exhaustive]pub struct NatGatewayAddress { /* private fields */ }
Expand description
Describes the IP addresses and network interface associated with a NAT gateway.
Implementations§
source§impl NatGatewayAddress
impl NatGatewayAddress
sourcepub fn allocation_id(&self) -> Option<&str>
pub fn allocation_id(&self) -> Option<&str>
[Public NAT gateway only] The allocation ID of the Elastic IP address that's associated with the NAT gateway.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of the network interface associated with the NAT gateway.
sourcepub fn private_ip(&self) -> Option<&str>
pub fn private_ip(&self) -> Option<&str>
The private IP address associated with the NAT gateway.
sourcepub fn public_ip(&self) -> Option<&str>
pub fn public_ip(&self) -> Option<&str>
[Public NAT gateway only] The Elastic IP address associated with the NAT gateway.
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
[Public NAT gateway only] The association ID of the Elastic IP address that's associated with the NAT gateway.
sourcepub fn is_primary(&self) -> Option<bool>
pub fn is_primary(&self) -> Option<bool>
Defines if the IP address is the primary address.
sourcepub fn failure_message(&self) -> Option<&str>
pub fn failure_message(&self) -> Option<&str>
The address failure message.
sourcepub fn status(&self) -> Option<&NatGatewayAddressStatus>
pub fn status(&self) -> Option<&NatGatewayAddressStatus>
The address status.
source§impl NatGatewayAddress
impl NatGatewayAddress
sourcepub fn builder() -> NatGatewayAddressBuilder
pub fn builder() -> NatGatewayAddressBuilder
Creates a new builder-style object to manufacture NatGatewayAddress
.
Trait Implementations§
source§impl Clone for NatGatewayAddress
impl Clone for NatGatewayAddress
source§fn clone(&self) -> NatGatewayAddress
fn clone(&self) -> NatGatewayAddress
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 NatGatewayAddress
impl Debug for NatGatewayAddress
source§impl PartialEq<NatGatewayAddress> for NatGatewayAddress
impl PartialEq<NatGatewayAddress> for NatGatewayAddress
source§fn eq(&self, other: &NatGatewayAddress) -> bool
fn eq(&self, other: &NatGatewayAddress) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NatGatewayAddress
Auto Trait Implementations§
impl RefUnwindSafe for NatGatewayAddress
impl Send for NatGatewayAddress
impl Sync for NatGatewayAddress
impl Unpin for NatGatewayAddress
impl UnwindSafe for NatGatewayAddress
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
Mutably borrows from an owned value. Read more