pub struct Builder { /* private fields */ }Expand description
A builder for TableAutoScalingDescription.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> TableAutoScalingDescription
pub fn build(self) -> TableAutoScalingDescription
Consumes the builder and constructs a TableAutoScalingDescription.