#[non_exhaustive]pub struct TableAutoScalingDescription {
pub table_name: Option<String>,
pub table_status: Option<TableStatus>,
pub replicas: Option<Vec<ReplicaAutoScalingDescription>>,
}
Expand description
Represents the auto scaling configuration for a global table.
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.table_name: Option<String>
The name of the table.
table_status: Option<TableStatus>
The current state of the table:
-
CREATING
- The table is being created. -
UPDATING
- The table is being updated. -
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
replicas: Option<Vec<ReplicaAutoScalingDescription>>
Represents replicas of the global table.
Implementations§
Source§impl TableAutoScalingDescription
impl TableAutoScalingDescription
Sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the table.
Sourcepub fn table_status(&self) -> Option<&TableStatus>
pub fn table_status(&self) -> Option<&TableStatus>
The current state of the table:
-
CREATING
- The table is being created. -
UPDATING
- The table is being updated. -
DELETING
- The table is being deleted. -
ACTIVE
- The table is ready for use.
Sourcepub fn replicas(&self) -> &[ReplicaAutoScalingDescription]
pub fn replicas(&self) -> &[ReplicaAutoScalingDescription]
Represents replicas of the global table.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replicas.is_none()
.
Source§impl TableAutoScalingDescription
impl TableAutoScalingDescription
Sourcepub fn builder() -> TableAutoScalingDescriptionBuilder
pub fn builder() -> TableAutoScalingDescriptionBuilder
Creates a new builder-style object to manufacture TableAutoScalingDescription
.
Trait Implementations§
Source§impl Clone for TableAutoScalingDescription
impl Clone for TableAutoScalingDescription
Source§fn clone(&self) -> TableAutoScalingDescription
fn clone(&self) -> TableAutoScalingDescription
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for TableAutoScalingDescription
impl Debug for TableAutoScalingDescription
impl StructuralPartialEq for TableAutoScalingDescription
Auto Trait Implementations§
impl Freeze for TableAutoScalingDescription
impl RefUnwindSafe for TableAutoScalingDescription
impl Send for TableAutoScalingDescription
impl Sync for TableAutoScalingDescription
impl Unpin for TableAutoScalingDescription
impl UnwindSafe for TableAutoScalingDescription
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§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