Struct aws_sdk_ec2::operation::deprovision_public_ipv4_pool_cidr::builders::DeprovisionPublicIpv4PoolCidrInputBuilder
source · #[non_exhaustive]pub struct DeprovisionPublicIpv4PoolCidrInputBuilder { /* private fields */ }Expand description
A builder for DeprovisionPublicIpv4PoolCidrInput.
Implementations§
source§impl DeprovisionPublicIpv4PoolCidrInputBuilder
impl DeprovisionPublicIpv4PoolCidrInputBuilder
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 pool_id(self, input: impl Into<String>) -> Self
pub fn pool_id(self, input: impl Into<String>) -> Self
The ID of the pool that you want to deprovision the CIDR from.
sourcepub fn set_pool_id(self, input: Option<String>) -> Self
pub fn set_pool_id(self, input: Option<String>) -> Self
The ID of the pool that you want to deprovision the CIDR from.
sourcepub fn get_pool_id(&self) -> &Option<String>
pub fn get_pool_id(&self) -> &Option<String>
The ID of the pool that you want to deprovision the CIDR from.
sourcepub fn cidr(self, input: impl Into<String>) -> Self
pub fn cidr(self, input: impl Into<String>) -> Self
The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of /32. You must rerun this command for each IP address in the CIDR range. If your CIDR is a /24, you will have to run this command to deprovision each of the 256 IP addresses in the /24 CIDR.
sourcepub fn set_cidr(self, input: Option<String>) -> Self
pub fn set_cidr(self, input: Option<String>) -> Self
The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of /32. You must rerun this command for each IP address in the CIDR range. If your CIDR is a /24, you will have to run this command to deprovision each of the 256 IP addresses in the /24 CIDR.
sourcepub fn get_cidr(&self) -> &Option<String>
pub fn get_cidr(&self) -> &Option<String>
The CIDR you want to deprovision from the pool. Enter the CIDR you want to deprovision with a netmask of /32. You must rerun this command for each IP address in the CIDR range. If your CIDR is a /24, you will have to run this command to deprovision each of the 256 IP addresses in the /24 CIDR.
sourcepub fn build(self) -> Result<DeprovisionPublicIpv4PoolCidrInput, BuildError>
pub fn build(self) -> Result<DeprovisionPublicIpv4PoolCidrInput, BuildError>
Consumes the builder and constructs a DeprovisionPublicIpv4PoolCidrInput.
source§impl DeprovisionPublicIpv4PoolCidrInputBuilder
impl DeprovisionPublicIpv4PoolCidrInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeprovisionPublicIpv4PoolCidrOutput, SdkError<DeprovisionPublicIpv4PoolCidrError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeprovisionPublicIpv4PoolCidrOutput, SdkError<DeprovisionPublicIpv4PoolCidrError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeprovisionPublicIpv4PoolCidrInputBuilder
impl Clone for DeprovisionPublicIpv4PoolCidrInputBuilder
source§fn clone(&self) -> DeprovisionPublicIpv4PoolCidrInputBuilder
fn clone(&self) -> DeprovisionPublicIpv4PoolCidrInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeprovisionPublicIpv4PoolCidrInputBuilder
impl Default for DeprovisionPublicIpv4PoolCidrInputBuilder
source§fn default() -> DeprovisionPublicIpv4PoolCidrInputBuilder
fn default() -> DeprovisionPublicIpv4PoolCidrInputBuilder
source§impl PartialEq<DeprovisionPublicIpv4PoolCidrInputBuilder> for DeprovisionPublicIpv4PoolCidrInputBuilder
impl PartialEq<DeprovisionPublicIpv4PoolCidrInputBuilder> for DeprovisionPublicIpv4PoolCidrInputBuilder
source§fn eq(&self, other: &DeprovisionPublicIpv4PoolCidrInputBuilder) -> bool
fn eq(&self, other: &DeprovisionPublicIpv4PoolCidrInputBuilder) -> bool
self and other values to be equal, and is used
by ==.