#[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 ==
.