#[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 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
.
Trait Implementations§
source§impl Clone for TableAutoScalingDescriptionBuilder
impl Clone for TableAutoScalingDescriptionBuilder
source§fn clone(&self) -> TableAutoScalingDescriptionBuilder
fn clone(&self) -> TableAutoScalingDescriptionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for TableAutoScalingDescriptionBuilder
impl Default for TableAutoScalingDescriptionBuilder
source§fn default() -> TableAutoScalingDescriptionBuilder
fn default() -> TableAutoScalingDescriptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TableAutoScalingDescriptionBuilder> for TableAutoScalingDescriptionBuilder
impl PartialEq<TableAutoScalingDescriptionBuilder> for TableAutoScalingDescriptionBuilder
source§fn eq(&self, other: &TableAutoScalingDescriptionBuilder) -> bool
fn eq(&self, other: &TableAutoScalingDescriptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableAutoScalingDescriptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TableAutoScalingDescriptionBuilder
impl Send for TableAutoScalingDescriptionBuilder
impl Sync for TableAutoScalingDescriptionBuilder
impl Unpin for TableAutoScalingDescriptionBuilder
impl UnwindSafe for TableAutoScalingDescriptionBuilder
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
Mutably borrows from an owned value. Read more