Struct aws_sdk_ec2::operation::provision_public_ipv4_pool_cidr::builders::ProvisionPublicIpv4PoolCidrInputBuilder
source · #[non_exhaustive]pub struct ProvisionPublicIpv4PoolCidrInputBuilder { /* private fields */ }Expand description
A builder for ProvisionPublicIpv4PoolCidrInput.
Implementations§
source§impl ProvisionPublicIpv4PoolCidrInputBuilder
impl ProvisionPublicIpv4PoolCidrInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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 set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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 get_dry_run(&self) -> &Option<bool>
pub fn get_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, input: impl Into<String>) -> Self
pub fn ipam_pool_id(self, input: impl Into<String>) -> Self
The ID of the IPAM pool you would like to use to allocate this CIDR.
This field is required.sourcepub fn set_ipam_pool_id(self, input: Option<String>) -> Self
pub fn set_ipam_pool_id(self, input: Option<String>) -> Self
The ID of the IPAM pool you would like to use to allocate this CIDR.
sourcepub fn get_ipam_pool_id(&self) -> &Option<String>
pub fn get_ipam_pool_id(&self) -> &Option<String>
The ID of the IPAM pool you would like to use to allocate this CIDR.
sourcepub fn pool_id(self, input: impl Into<String>) -> Self
pub fn pool_id(self, input: impl Into<String>) -> Self
The ID of the public IPv4 pool you would like to use for this CIDR.
This field is required.sourcepub fn set_pool_id(self, input: Option<String>) -> Self
pub fn set_pool_id(self, input: Option<String>) -> Self
The ID of the public IPv4 pool you would like to use for this CIDR.
sourcepub fn get_pool_id(&self) -> &Option<String>
pub fn get_pool_id(&self) -> &Option<String>
The ID of the public IPv4 pool you would like to use for this CIDR.
sourcepub fn netmask_length(self, input: i32) -> Self
pub fn netmask_length(self, input: i32) -> Self
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
This field is required.sourcepub fn set_netmask_length(self, input: Option<i32>) -> Self
pub fn set_netmask_length(self, input: Option<i32>) -> Self
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
sourcepub fn get_netmask_length(&self) -> &Option<i32>
pub fn get_netmask_length(&self) -> &Option<i32>
The netmask length of the CIDR you would like to allocate to the public IPv4 pool.
sourcepub fn build(self) -> Result<ProvisionPublicIpv4PoolCidrInput, BuildError>
pub fn build(self) -> Result<ProvisionPublicIpv4PoolCidrInput, BuildError>
Consumes the builder and constructs a ProvisionPublicIpv4PoolCidrInput.
source§impl ProvisionPublicIpv4PoolCidrInputBuilder
impl ProvisionPublicIpv4PoolCidrInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ProvisionPublicIpv4PoolCidrOutput, SdkError<ProvisionPublicIpv4PoolCidrError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ProvisionPublicIpv4PoolCidrOutput, SdkError<ProvisionPublicIpv4PoolCidrError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ProvisionPublicIpv4PoolCidrInputBuilder
impl Clone for ProvisionPublicIpv4PoolCidrInputBuilder
source§fn clone(&self) -> ProvisionPublicIpv4PoolCidrInputBuilder
fn clone(&self) -> ProvisionPublicIpv4PoolCidrInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ProvisionPublicIpv4PoolCidrInputBuilder
impl Default for ProvisionPublicIpv4PoolCidrInputBuilder
source§fn default() -> ProvisionPublicIpv4PoolCidrInputBuilder
fn default() -> ProvisionPublicIpv4PoolCidrInputBuilder
source§impl PartialEq for ProvisionPublicIpv4PoolCidrInputBuilder
impl PartialEq for ProvisionPublicIpv4PoolCidrInputBuilder
source§fn eq(&self, other: &ProvisionPublicIpv4PoolCidrInputBuilder) -> bool
fn eq(&self, other: &ProvisionPublicIpv4PoolCidrInputBuilder) -> bool
self and other values to be equal, and is used
by ==.