#[non_exhaustive]pub struct ServerlessV2ScalingConfiguration { /* private fields */ }Expand description
Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide.
Implementations
sourceimpl ServerlessV2ScalingConfiguration
impl ServerlessV2ScalingConfiguration
sourcepub fn min_capacity(&self) -> Option<f64>
pub fn min_capacity(&self) -> Option<f64>
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) -> Option<f64>
pub fn max_capacity(&self) -> Option<f64>
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.
sourceimpl ServerlessV2ScalingConfiguration
impl ServerlessV2ScalingConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServerlessV2ScalingConfiguration.
Trait Implementations
sourceimpl Clone for ServerlessV2ScalingConfiguration
impl Clone for ServerlessV2ScalingConfiguration
sourcefn clone(&self) -> ServerlessV2ScalingConfiguration
fn clone(&self) -> ServerlessV2ScalingConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl PartialEq<ServerlessV2ScalingConfiguration> for ServerlessV2ScalingConfiguration
impl PartialEq<ServerlessV2ScalingConfiguration> for ServerlessV2ScalingConfiguration
sourcefn eq(&self, other: &ServerlessV2ScalingConfiguration) -> bool
fn eq(&self, other: &ServerlessV2ScalingConfiguration) -> bool
impl StructuralPartialEq for ServerlessV2ScalingConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ServerlessV2ScalingConfiguration
impl Send for ServerlessV2ScalingConfiguration
impl Sync for ServerlessV2ScalingConfiguration
impl Unpin for ServerlessV2ScalingConfiguration
impl UnwindSafe for ServerlessV2ScalingConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more