pub struct Builder { /* private fields */ }Expand description
A builder for ServerlessV2ScalingConfigurationInfo.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn min_capacity(self, input: f64) -> Self
pub fn min_capacity(self, input: f64) -> Self
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
sourcepub fn set_min_capacity(self, input: Option<f64>) -> Self
pub fn set_min_capacity(self, input: Option<f64>) -> Self
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
sourcepub fn max_capacity(self, input: f64) -> Self
pub fn max_capacity(self, input: f64) -> Self
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128.
sourcepub fn set_max_capacity(self, input: Option<f64>) -> Self
pub fn set_max_capacity(self, input: Option<f64>) -> Self
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128.
sourcepub fn build(self) -> ServerlessV2ScalingConfigurationInfo
pub fn build(self) -> ServerlessV2ScalingConfigurationInfo
Consumes the builder and constructs a ServerlessV2ScalingConfigurationInfo.