Struct aws_sdk_dynamodb::input::create_global_table_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateGlobalTableInput
.
Implementations§
source§impl Builder
impl Builder
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
.