#[non_exhaustive]pub struct AutoScalingSpecificationBuilder { /* private fields */ }
Expand description
A builder for AutoScalingSpecification
.
Implementations§
source§impl AutoScalingSpecificationBuilder
impl AutoScalingSpecificationBuilder
sourcepub fn write_capacity_auto_scaling(self, input: AutoScalingSettings) -> Self
pub fn write_capacity_auto_scaling(self, input: AutoScalingSettings) -> Self
The auto scaling settings for the table's write capacity.
sourcepub fn set_write_capacity_auto_scaling(
self,
input: Option<AutoScalingSettings>
) -> Self
pub fn set_write_capacity_auto_scaling( self, input: Option<AutoScalingSettings> ) -> Self
The auto scaling settings for the table's write capacity.
sourcepub fn get_write_capacity_auto_scaling(&self) -> &Option<AutoScalingSettings>
pub fn get_write_capacity_auto_scaling(&self) -> &Option<AutoScalingSettings>
The auto scaling settings for the table's write capacity.
sourcepub fn read_capacity_auto_scaling(self, input: AutoScalingSettings) -> Self
pub fn read_capacity_auto_scaling(self, input: AutoScalingSettings) -> Self
The auto scaling settings for the table's read capacity.
sourcepub fn set_read_capacity_auto_scaling(
self,
input: Option<AutoScalingSettings>
) -> Self
pub fn set_read_capacity_auto_scaling( self, input: Option<AutoScalingSettings> ) -> Self
The auto scaling settings for the table's read capacity.
sourcepub fn get_read_capacity_auto_scaling(&self) -> &Option<AutoScalingSettings>
pub fn get_read_capacity_auto_scaling(&self) -> &Option<AutoScalingSettings>
The auto scaling settings for the table's read capacity.
sourcepub fn build(self) -> AutoScalingSpecification
pub fn build(self) -> AutoScalingSpecification
Consumes the builder and constructs a AutoScalingSpecification
.
Trait Implementations§
source§impl Clone for AutoScalingSpecificationBuilder
impl Clone for AutoScalingSpecificationBuilder
source§fn clone(&self) -> AutoScalingSpecificationBuilder
fn clone(&self) -> AutoScalingSpecificationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AutoScalingSpecificationBuilder
impl Default for AutoScalingSpecificationBuilder
source§fn default() -> AutoScalingSpecificationBuilder
fn default() -> AutoScalingSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AutoScalingSpecificationBuilder
impl PartialEq for AutoScalingSpecificationBuilder
source§fn eq(&self, other: &AutoScalingSpecificationBuilder) -> bool
fn eq(&self, other: &AutoScalingSpecificationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoScalingSpecificationBuilder
Auto Trait Implementations§
impl Freeze for AutoScalingSpecificationBuilder
impl RefUnwindSafe for AutoScalingSpecificationBuilder
impl Send for AutoScalingSpecificationBuilder
impl Sync for AutoScalingSpecificationBuilder
impl Unpin for AutoScalingSpecificationBuilder
impl UnwindSafe for AutoScalingSpecificationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.