Struct aws_sdk_keyspaces::types::ReplicaSpecification
source · #[non_exhaustive]pub struct ReplicaSpecification {
pub region: String,
pub read_capacity_units: Option<i64>,
pub read_capacity_auto_scaling: Option<AutoScalingSettings>,
}
Expand description
The Amazon Web Services Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per Amazon Web Services Region. You can do this by configuring the following parameters.
-
region
: The Region where these settings are applied. (Required) -
readCapacityUnits
: The provisioned read capacity units. (Optional) -
readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.region: String
The Amazon Web Services Region.
read_capacity_units: Option<i64>
The provisioned read capacity units for the multi-Region table in the specified Amazon Web Services Region.
read_capacity_auto_scaling: Option<AutoScalingSettings>
The read capacity auto scaling settings for the multi-Region table in the specified Amazon Web Services Region.
Implementations§
source§impl ReplicaSpecification
impl ReplicaSpecification
sourcepub fn read_capacity_units(&self) -> Option<i64>
pub fn 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) -> Option<&AutoScalingSettings>
pub fn 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.
source§impl ReplicaSpecification
impl ReplicaSpecification
sourcepub fn builder() -> ReplicaSpecificationBuilder
pub fn builder() -> ReplicaSpecificationBuilder
Creates a new builder-style object to manufacture ReplicaSpecification
.
Trait Implementations§
source§impl Clone for ReplicaSpecification
impl Clone for ReplicaSpecification
source§fn clone(&self) -> ReplicaSpecification
fn clone(&self) -> ReplicaSpecification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicaSpecification
impl Debug for ReplicaSpecification
source§impl PartialEq for ReplicaSpecification
impl PartialEq for ReplicaSpecification
impl StructuralPartialEq for ReplicaSpecification
Auto Trait Implementations§
impl Freeze for ReplicaSpecification
impl RefUnwindSafe for ReplicaSpecification
impl Send for ReplicaSpecification
impl Sync for ReplicaSpecification
impl Unpin for ReplicaSpecification
impl UnwindSafe for ReplicaSpecification
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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