#[non_exhaustive]pub struct ServerlessV2ScalingConfigurationInfoBuilder { /* private fields */ }Expand description
A builder for ServerlessV2ScalingConfigurationInfo.
Implementations§
source§impl ServerlessV2ScalingConfigurationInfoBuilder
impl ServerlessV2ScalingConfigurationInfoBuilder
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 get_min_capacity(&self) -> &Option<f64>
pub fn get_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, 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 get_max_capacity(&self) -> &Option<f64>
pub fn get_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.
sourcepub fn build(self) -> ServerlessV2ScalingConfigurationInfo
pub fn build(self) -> ServerlessV2ScalingConfigurationInfo
Consumes the builder and constructs a ServerlessV2ScalingConfigurationInfo.
Trait Implementations§
source§impl Clone for ServerlessV2ScalingConfigurationInfoBuilder
impl Clone for ServerlessV2ScalingConfigurationInfoBuilder
source§fn clone(&self) -> ServerlessV2ScalingConfigurationInfoBuilder
fn clone(&self) -> ServerlessV2ScalingConfigurationInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ServerlessV2ScalingConfigurationInfoBuilder
impl Default for ServerlessV2ScalingConfigurationInfoBuilder
source§fn default() -> ServerlessV2ScalingConfigurationInfoBuilder
fn default() -> ServerlessV2ScalingConfigurationInfoBuilder
source§impl PartialEq for ServerlessV2ScalingConfigurationInfoBuilder
impl PartialEq for ServerlessV2ScalingConfigurationInfoBuilder
source§fn eq(&self, other: &ServerlessV2ScalingConfigurationInfoBuilder) -> bool
fn eq(&self, other: &ServerlessV2ScalingConfigurationInfoBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ServerlessV2ScalingConfigurationInfoBuilder
Auto Trait Implementations§
impl Freeze for ServerlessV2ScalingConfigurationInfoBuilder
impl RefUnwindSafe for ServerlessV2ScalingConfigurationInfoBuilder
impl Send for ServerlessV2ScalingConfigurationInfoBuilder
impl Sync for ServerlessV2ScalingConfigurationInfoBuilder
impl Unpin for ServerlessV2ScalingConfigurationInfoBuilder
impl UnwindSafe for ServerlessV2ScalingConfigurationInfoBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more