Struct aws_sdk_ec2::operation::deprovision_ipam_pool_cidr::builders::DeprovisionIpamPoolCidrInputBuilder
source · #[non_exhaustive]pub struct DeprovisionIpamPoolCidrInputBuilder { /* private fields */ }Expand description
A builder for DeprovisionIpamPoolCidrInput.
Implementations§
source§impl DeprovisionIpamPoolCidrInputBuilder
impl DeprovisionIpamPoolCidrInputBuilder
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 pool that has the CIDR you want to deprovision.
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 pool that has the CIDR you want to deprovision.
sourcepub fn get_ipam_pool_id(&self) -> &Option<String>
pub fn get_ipam_pool_id(&self) -> &Option<String>
The ID of the pool that has the CIDR you want to deprovision.
sourcepub fn cidr(self, input: impl Into<String>) -> Self
pub fn cidr(self, input: impl Into<String>) -> Self
The CIDR which you want to deprovision from the pool.
sourcepub fn set_cidr(self, input: Option<String>) -> Self
pub fn set_cidr(self, input: Option<String>) -> Self
The CIDR which you want to deprovision from the pool.
sourcepub fn get_cidr(&self) -> &Option<String>
pub fn get_cidr(&self) -> &Option<String>
The CIDR which you want to deprovision from the pool.
sourcepub fn build(self) -> Result<DeprovisionIpamPoolCidrInput, BuildError>
pub fn build(self) -> Result<DeprovisionIpamPoolCidrInput, BuildError>
Consumes the builder and constructs a DeprovisionIpamPoolCidrInput.
source§impl DeprovisionIpamPoolCidrInputBuilder
impl DeprovisionIpamPoolCidrInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeprovisionIpamPoolCidrOutput, SdkError<DeprovisionIpamPoolCidrError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeprovisionIpamPoolCidrOutput, SdkError<DeprovisionIpamPoolCidrError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeprovisionIpamPoolCidrInputBuilder
impl Clone for DeprovisionIpamPoolCidrInputBuilder
source§fn clone(&self) -> DeprovisionIpamPoolCidrInputBuilder
fn clone(&self) -> DeprovisionIpamPoolCidrInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DeprovisionIpamPoolCidrInputBuilder
impl Default for DeprovisionIpamPoolCidrInputBuilder
source§fn default() -> DeprovisionIpamPoolCidrInputBuilder
fn default() -> DeprovisionIpamPoolCidrInputBuilder
source§impl PartialEq<DeprovisionIpamPoolCidrInputBuilder> for DeprovisionIpamPoolCidrInputBuilder
impl PartialEq<DeprovisionIpamPoolCidrInputBuilder> for DeprovisionIpamPoolCidrInputBuilder
source§fn eq(&self, other: &DeprovisionIpamPoolCidrInputBuilder) -> bool
fn eq(&self, other: &DeprovisionIpamPoolCidrInputBuilder) -> bool
self and other values to be equal, and is used
by ==.