Struct aws_sdk_ec2::operation::provision_public_ipv4_pool_cidr::ProvisionPublicIpv4PoolCidrInput
source · #[non_exhaustive]pub struct ProvisionPublicIpv4PoolCidrInput {
pub dry_run: Option<bool>,
pub ipam_pool_id: Option<String>,
pub pool_id: Option<String>,
pub netmask_length: Option<i32>,
}
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.dry_run: Option<bool>
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
ipam_pool_id: Option<String>
The ID of the IPAM pool you would like to use to allocate this CIDR.
pool_id: Option<String>
The ID of the public IPv4 pool you would like to use for this CIDR.
netmask_length: Option<i32>
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
Implementations§
source§impl ProvisionPublicIpv4PoolCidrInput
impl ProvisionPublicIpv4PoolCidrInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn ipam_pool_id(&self) -> Option<&str>
pub fn ipam_pool_id(&self) -> Option<&str>
The ID of the IPAM pool you would like to use to allocate this CIDR.
sourcepub fn pool_id(&self) -> Option<&str>
pub fn pool_id(&self) -> Option<&str>
The ID of the public IPv4 pool you would like to use for this CIDR.
sourcepub fn netmask_length(&self) -> Option<i32>
pub fn netmask_length(&self) -> Option<i32>
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
source§impl ProvisionPublicIpv4PoolCidrInput
impl ProvisionPublicIpv4PoolCidrInput
sourcepub fn builder() -> ProvisionPublicIpv4PoolCidrInputBuilder
pub fn builder() -> ProvisionPublicIpv4PoolCidrInputBuilder
Creates a new builder-style object to manufacture ProvisionPublicIpv4PoolCidrInput
.
Trait Implementations§
source§impl Clone for ProvisionPublicIpv4PoolCidrInput
impl Clone for ProvisionPublicIpv4PoolCidrInput
source§fn clone(&self) -> ProvisionPublicIpv4PoolCidrInput
fn clone(&self) -> ProvisionPublicIpv4PoolCidrInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ProvisionPublicIpv4PoolCidrInput
impl PartialEq for ProvisionPublicIpv4PoolCidrInput
source§fn eq(&self, other: &ProvisionPublicIpv4PoolCidrInput) -> bool
fn eq(&self, other: &ProvisionPublicIpv4PoolCidrInput) -> bool
self
and other
values to be equal, and is used
by ==
.