Struct aws_sdk_dynamodb::types::builders::GlobalTableBuilder
source · #[non_exhaustive]pub struct GlobalTableBuilder { /* private fields */ }
Expand description
A builder for GlobalTable
.
Implementations§
source§impl GlobalTableBuilder
impl GlobalTableBuilder
sourcepub fn global_table_name(self, input: impl Into<String>) -> Self
pub fn global_table_name(self, input: impl Into<String>) -> Self
The global table name.
sourcepub fn set_global_table_name(self, input: Option<String>) -> Self
pub fn set_global_table_name(self, input: Option<String>) -> Self
The global table name.
sourcepub fn get_global_table_name(&self) -> &Option<String>
pub fn get_global_table_name(&self) -> &Option<String>
The global table name.
sourcepub fn replication_group(self, input: Replica) -> Self
pub fn replication_group(self, input: Replica) -> Self
Appends an item to replication_group
.
To override the contents of this collection use set_replication_group
.
The Regions where the global table has replicas.
sourcepub fn set_replication_group(self, input: Option<Vec<Replica>>) -> Self
pub fn set_replication_group(self, input: Option<Vec<Replica>>) -> Self
The Regions where the global table has replicas.
sourcepub fn get_replication_group(&self) -> &Option<Vec<Replica>>
pub fn get_replication_group(&self) -> &Option<Vec<Replica>>
The Regions where the global table has replicas.
sourcepub fn build(self) -> GlobalTable
pub fn build(self) -> GlobalTable
Consumes the builder and constructs a GlobalTable
.
Trait Implementations§
source§impl Clone for GlobalTableBuilder
impl Clone for GlobalTableBuilder
source§fn clone(&self) -> GlobalTableBuilder
fn clone(&self) -> GlobalTableBuilder
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 Debug for GlobalTableBuilder
impl Debug for GlobalTableBuilder
source§impl Default for GlobalTableBuilder
impl Default for GlobalTableBuilder
source§fn default() -> GlobalTableBuilder
fn default() -> GlobalTableBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GlobalTableBuilder
impl PartialEq for GlobalTableBuilder
source§fn eq(&self, other: &GlobalTableBuilder) -> bool
fn eq(&self, other: &GlobalTableBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GlobalTableBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GlobalTableBuilder
impl Send for GlobalTableBuilder
impl Sync for GlobalTableBuilder
impl Unpin for GlobalTableBuilder
impl UnwindSafe for GlobalTableBuilder
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
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>
Creates a shared type from an unshared type.