#[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 ==
.impl StructuralPartialEq for TableAutoScalingDescriptionBuilder
Auto Trait Implementations§
impl Freeze for TableAutoScalingDescriptionBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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