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>,
pub network_border_group: Option<String>,
}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. The least specific netmask length you can define is 24.
network_border_group: Option<String>The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
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. The least specific netmask length you can define is 24.
sourcepub fn network_border_group(&self) -> Option<&str>
pub fn network_border_group(&self) -> Option<&str>
The Availability Zone (AZ) or Local Zone (LZ) network border group that the resource that the IP address is assigned to is in. Defaults to an AZ network border group. For more information on available Local Zones, see Local Zone availability in the Amazon EC2 User Guide.
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 ==.impl StructuralPartialEq for ProvisionPublicIpv4PoolCidrInput
Auto Trait Implementations§
impl Freeze for ProvisionPublicIpv4PoolCidrInput
impl RefUnwindSafe for ProvisionPublicIpv4PoolCidrInput
impl Send for ProvisionPublicIpv4PoolCidrInput
impl Sync for ProvisionPublicIpv4PoolCidrInput
impl Unpin for ProvisionPublicIpv4PoolCidrInput
impl UnwindSafe for ProvisionPublicIpv4PoolCidrInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more