pub struct Builder { /* private fields */ }
Expand description
A builder for DeprovisionPublicIpv4PoolCidrInput
.
Implementations§
source§impl Builder
impl Builder
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 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 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.
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.
sourcepub fn build(self) -> Result<DeprovisionPublicIpv4PoolCidrInput, BuildError>
pub fn build(self) -> Result<DeprovisionPublicIpv4PoolCidrInput, BuildError>
Consumes the builder and constructs a DeprovisionPublicIpv4PoolCidrInput
.