Struct aws_sdk_keyspaces::types::ReplicationSpecification
source · #[non_exhaustive]pub struct ReplicationSpecification {
pub replication_strategy: Option<Rs>,
pub region_list: Option<Vec<String>>,
}Expand description
The replication specification of the keyspace includes:
-
regionList- up to six Amazon Web Services Regions where the keyspace is replicated in. -
replicationStrategy- the required value isSINGLE_REGIONorMULTI_REGION.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.replication_strategy: Option<Rs> The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
region_list: Option<Vec<String>> The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
Implementations§
source§impl ReplicationSpecification
impl ReplicationSpecification
sourcepub fn replication_strategy(&self) -> Option<&Rs>
pub fn replication_strategy(&self) -> Option<&Rs>
The replicationStrategy of a keyspace, the required value is SINGLE_REGION or MULTI_REGION.
sourcepub fn region_list(&self) -> Option<&[String]>
pub fn region_list(&self) -> Option<&[String]>
The regionList can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
source§impl ReplicationSpecification
impl ReplicationSpecification
sourcepub fn builder() -> ReplicationSpecificationBuilder
pub fn builder() -> ReplicationSpecificationBuilder
Creates a new builder-style object to manufacture ReplicationSpecification.
Trait Implementations§
source§impl Clone for ReplicationSpecification
impl Clone for ReplicationSpecification
source§fn clone(&self) -> ReplicationSpecification
fn clone(&self) -> ReplicationSpecification
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 ReplicationSpecification
impl Debug for ReplicationSpecification
source§impl PartialEq for ReplicationSpecification
impl PartialEq for ReplicationSpecification
source§fn eq(&self, other: &ReplicationSpecification) -> bool
fn eq(&self, other: &ReplicationSpecification) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReplicationSpecification
Auto Trait Implementations§
impl RefUnwindSafe for ReplicationSpecification
impl Send for ReplicationSpecification
impl Sync for ReplicationSpecification
impl Unpin for ReplicationSpecification
impl UnwindSafe for ReplicationSpecification
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