#[non_exhaustive]pub struct ReplicationSpecificationBuilder { /* private fields */ }Expand description
A builder for ReplicationSpecification.
Implementations§
source§impl ReplicationSpecificationBuilder
impl ReplicationSpecificationBuilder
sourcepub fn replication_strategy(self, input: Rs) -> Self
pub fn replication_strategy(self, input: Rs) -> Self
The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
sourcepub fn set_replication_strategy(self, input: Option<Rs>) -> Self
pub fn set_replication_strategy(self, input: Option<Rs>) -> Self
The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
sourcepub fn get_replication_strategy(&self) -> &Option<Rs>
pub fn get_replication_strategy(&self) -> &Option<Rs>
The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
sourcepub fn region_list(self, input: impl Into<String>) -> Self
pub fn region_list(self, input: impl Into<String>) -> Self
Appends an item to region_list.
To override the contents of this collection use set_region_list.
The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
sourcepub fn set_region_list(self, input: Option<Vec<String>>) -> Self
pub fn set_region_list(self, input: Option<Vec<String>>) -> Self
The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
sourcepub fn get_region_list(&self) -> &Option<Vec<String>>
pub fn get_region_list(&self) -> &Option<Vec<String>>
The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
sourcepub fn build(self) -> ReplicationSpecification
pub fn build(self) -> ReplicationSpecification
Consumes the builder and constructs a ReplicationSpecification.
Trait Implementations§
source§impl Clone for ReplicationSpecificationBuilder
impl Clone for ReplicationSpecificationBuilder
source§fn clone(&self) -> ReplicationSpecificationBuilder
fn clone(&self) -> ReplicationSpecificationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ReplicationSpecificationBuilder
impl Default for ReplicationSpecificationBuilder
source§fn default() -> ReplicationSpecificationBuilder
fn default() -> ReplicationSpecificationBuilder
source§impl PartialEq for ReplicationSpecificationBuilder
impl PartialEq for ReplicationSpecificationBuilder
source§fn eq(&self, other: &ReplicationSpecificationBuilder) -> bool
fn eq(&self, other: &ReplicationSpecificationBuilder) -> bool
self and other values to be equal, and is used
by ==.