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