Struct aws_sdk_dynamodb::operation::create_global_table::builders::CreateGlobalTableInputBuilder
source · #[non_exhaustive]pub struct CreateGlobalTableInputBuilder { /* private fields */ }
Expand description
A builder for CreateGlobalTableInput
.
Implementations§
source§impl CreateGlobalTableInputBuilder
impl CreateGlobalTableInputBuilder
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 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 needs to be created.
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 needs to be created.
sourcepub fn build(self) -> Result<CreateGlobalTableInput, BuildError>
pub fn build(self) -> Result<CreateGlobalTableInput, BuildError>
Consumes the builder and constructs a CreateGlobalTableInput
.
Trait Implementations§
source§impl Clone for CreateGlobalTableInputBuilder
impl Clone for CreateGlobalTableInputBuilder
source§fn clone(&self) -> CreateGlobalTableInputBuilder
fn clone(&self) -> CreateGlobalTableInputBuilder
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 CreateGlobalTableInputBuilder
impl Default for CreateGlobalTableInputBuilder
source§fn default() -> CreateGlobalTableInputBuilder
fn default() -> CreateGlobalTableInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateGlobalTableInputBuilder> for CreateGlobalTableInputBuilder
impl PartialEq<CreateGlobalTableInputBuilder> for CreateGlobalTableInputBuilder
source§fn eq(&self, other: &CreateGlobalTableInputBuilder) -> bool
fn eq(&self, other: &CreateGlobalTableInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.