#[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
source§impl PartialEq for TableAutoScalingDescription
impl PartialEq for TableAutoScalingDescription
source§fn eq(&self, other: &TableAutoScalingDescription) -> bool
fn eq(&self, other: &TableAutoScalingDescription) -> bool
self and other values to be equal, and is used
by ==.