Struct aws_sdk_ec2::types::IpamPoolAllocation
source · #[non_exhaustive]pub struct IpamPoolAllocation {
pub cidr: Option<String>,
pub ipam_pool_allocation_id: Option<String>,
pub description: Option<String>,
pub resource_id: Option<String>,
pub resource_type: Option<IpamPoolAllocationResourceType>,
pub resource_region: Option<String>,
pub resource_owner: Option<String>,
}
Expand description
In IPAM, an allocation is a CIDR assignment from an IPAM pool to another IPAM pool or to a resource.
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.cidr: Option<String>
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
.
ipam_pool_allocation_id: Option<String>
The ID of an allocation.
description: Option<String>
A description of the pool allocation.
resource_id: Option<String>
The ID of the resource.
resource_type: Option<IpamPoolAllocationResourceType>
The type of the resource.
resource_region: Option<String>
The Amazon Web Services Region of the resource.
resource_owner: Option<String>
The owner of the 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.