#[non_exhaustive]pub struct TableAutoScalingDescriptionBuilder { /* private fields */ }
Expand description
A builder for TableAutoScalingDescription
.
Implementations§
source§impl TableAutoScalingDescriptionBuilder
impl TableAutoScalingDescriptionBuilder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table.
sourcepub fn table_status(self, input: TableStatus) -> Self
pub fn table_status(self, input: TableStatus) -> Self
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 set_table_status(self, input: Option<TableStatus>) -> Self
pub fn set_table_status(self, input: Option<TableStatus>) -> Self
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 get_table_status(&self) -> &Option<TableStatus>
pub fn get_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, input: ReplicaAutoScalingDescription) -> Self
pub fn replicas(self, input: ReplicaAutoScalingDescription) -> Self
Appends an item to replicas
.
To override the contents of this collection use set_replicas
.
Represents replicas of the global table.
sourcepub fn set_replicas(
self,
input: Option<Vec<ReplicaAutoScalingDescription>>
) -> Self
pub fn set_replicas( self, input: Option<Vec<ReplicaAutoScalingDescription>> ) -> Self
Represents replicas of the global table.
sourcepub fn get_replicas(&self) -> &Option<Vec<ReplicaAutoScalingDescription>>
pub fn get_replicas(&self) -> &Option<Vec<ReplicaAutoScalingDescription>>
Represents replicas of the global table.
sourcepub fn build(self) -> TableAutoScalingDescription
pub fn build(self) -> TableAutoScalingDescription
Consumes the builder and constructs a TableAutoScalingDescription
.
Trait Implementations§
source§impl Clone for TableAutoScalingDescriptionBuilder
impl Clone for TableAutoScalingDescriptionBuilder
source§fn clone(&self) -> TableAutoScalingDescriptionBuilder
fn clone(&self) -> TableAutoScalingDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for TableAutoScalingDescriptionBuilder
impl Default for TableAutoScalingDescriptionBuilder
source§fn default() -> TableAutoScalingDescriptionBuilder
fn default() -> TableAutoScalingDescriptionBuilder
source§impl PartialEq for TableAutoScalingDescriptionBuilder
impl PartialEq for TableAutoScalingDescriptionBuilder
source§fn eq(&self, other: &TableAutoScalingDescriptionBuilder) -> bool
fn eq(&self, other: &TableAutoScalingDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.