#[non_exhaustive]pub struct ReplicaSpecificationBuilder { /* private fields */ }Expand description
A builder for ReplicaSpecification.
Implementations§
source§impl ReplicaSpecificationBuilder
impl ReplicaSpecificationBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region.
This field is required.sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
The Amazon Web Services Region.
sourcepub fn read_capacity_units(self, input: i64) -> Self
pub fn read_capacity_units(self, input: i64) -> Self
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
sourcepub fn set_read_capacity_units(self, input: Option<i64>) -> Self
pub fn set_read_capacity_units(self, input: Option<i64>) -> Self
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
sourcepub fn get_read_capacity_units(&self) -> &Option<i64>
pub fn get_read_capacity_units(&self) -> &Option<i64>
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
sourcepub fn read_capacity_auto_scaling(self, input: AutoScalingSettings) -> Self
pub fn read_capacity_auto_scaling(self, input: AutoScalingSettings) -> Self
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
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 read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
sourcepub fn get_read_capacity_auto_scaling(&self) -> &Option<AutoScalingSettings>
pub fn get_read_capacity_auto_scaling(&self) -> &Option<AutoScalingSettings>
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
sourcepub fn build(self) -> Result<ReplicaSpecification, BuildError>
pub fn build(self) -> Result<ReplicaSpecification, BuildError>
Consumes the builder and constructs a ReplicaSpecification.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReplicaSpecificationBuilder
impl Clone for ReplicaSpecificationBuilder
source§fn clone(&self) -> ReplicaSpecificationBuilder
fn clone(&self) -> ReplicaSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplicaSpecificationBuilder
impl Debug for ReplicaSpecificationBuilder
source§impl Default for ReplicaSpecificationBuilder
impl Default for ReplicaSpecificationBuilder
source§fn default() -> ReplicaSpecificationBuilder
fn default() -> ReplicaSpecificationBuilder
source§impl PartialEq for ReplicaSpecificationBuilder
impl PartialEq for ReplicaSpecificationBuilder
source§fn eq(&self, other: &ReplicaSpecificationBuilder) -> bool
fn eq(&self, other: &ReplicaSpecificationBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReplicaSpecificationBuilder
Auto Trait Implementations§
impl Freeze for ReplicaSpecificationBuilder
impl RefUnwindSafe for ReplicaSpecificationBuilder
impl Send for ReplicaSpecificationBuilder
impl Sync for ReplicaSpecificationBuilder
impl Unpin for ReplicaSpecificationBuilder
impl UnwindSafe for ReplicaSpecificationBuilder
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