Struct aws_sdk_ec2::model::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 resource or IPAM pool.
Implementations
sourceimpl 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.
sourceimpl IpamPoolAllocation
impl IpamPoolAllocation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture IpamPoolAllocation
.
Trait Implementations
sourceimpl Clone for IpamPoolAllocation
impl Clone for IpamPoolAllocation
sourcefn clone(&self) -> IpamPoolAllocation
fn clone(&self) -> IpamPoolAllocation
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 moresourceimpl Debug for IpamPoolAllocation
impl Debug for IpamPoolAllocation
sourceimpl PartialEq<IpamPoolAllocation> for IpamPoolAllocation
impl PartialEq<IpamPoolAllocation> for IpamPoolAllocation
sourcefn eq(&self, other: &IpamPoolAllocation) -> bool
fn eq(&self, other: &IpamPoolAllocation) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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