Struct aws_sdk_keyspaces::types::ReplicationSpecification
source · #[non_exhaustive]pub struct ReplicationSpecification {
pub replication_strategy: 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_REGION
orMULTI_REGION
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_strategy: 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) -> &Rs
pub fn replication_strategy(&self) -> &Rs
The replicationStrategy
of a keyspace, the required value is SINGLE_REGION
or MULTI_REGION
.
sourcepub fn region_list(&self) -> &[String]
pub fn region_list(&self) -> &[String]
The regionList
can contain up to six Amazon Web Services Regions where the keyspace is replicated in.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .region_list.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
self
and other
values to be equal, and is used
by ==
.