Struct aws_sdk_ec2::types::IpamPoolAllocation
source · #[non_exhaustive]pub struct IpamPoolAllocation { /* private fields */ }
Expand description
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
Implementations§
source§impl IpamPoolAllocation
impl IpamPoolAllocation
sourcepub fn cidr(&self) -> Option<&str>
pub fn cidr(&self) -> Option<&str>
The CIDR for the allocation. A CIDR is a representation of an IP address and its associated network mask (or netmask) and refers to a range of IP addresses. An IPv4 CIDR example is 10.24.34.0/23
. An IPv6 CIDR example is 2001:DB8::/32
.
sourcepub fn ipam_pool_allocation_id(&self) -> Option<&str>
pub fn ipam_pool_allocation_id(&self) -> Option<&str>
The ID of an allocation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the pool allocation.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
sourcepub fn resource_type(&self) -> Option<&IpamPoolAllocationResourceType>
pub fn resource_type(&self) -> Option<&IpamPoolAllocationResourceType>
The type of the resource.
sourcepub fn resource_region(&self) -> Option<&str>
pub fn resource_region(&self) -> Option<&str>
The Amazon Web Services Region of the resource.
sourcepub fn resource_owner(&self) -> Option<&str>
pub fn resource_owner(&self) -> Option<&str>
The owner of the resource.
source§impl IpamPoolAllocation
impl IpamPoolAllocation
sourcepub fn builder() -> IpamPoolAllocationBuilder
pub fn builder() -> IpamPoolAllocationBuilder
Creates a new builder-style object to manufacture IpamPoolAllocation
.
Trait Implementations§
source§impl Clone for IpamPoolAllocation
impl Clone for IpamPoolAllocation
source§fn clone(&self) -> IpamPoolAllocation
fn clone(&self) -> IpamPoolAllocation
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 IpamPoolAllocation
impl Debug for IpamPoolAllocation
source§impl PartialEq<IpamPoolAllocation> for IpamPoolAllocation
impl PartialEq<IpamPoolAllocation> for IpamPoolAllocation
source§fn eq(&self, other: &IpamPoolAllocation) -> bool
fn eq(&self, other: &IpamPoolAllocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IpamPoolAllocation
Auto Trait Implementations§
impl RefUnwindSafe for IpamPoolAllocation
impl Send for IpamPoolAllocation
impl Sync for IpamPoolAllocation
impl Unpin for IpamPoolAllocation
impl UnwindSafe for IpamPoolAllocation
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