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
impl StructuralPartialEq for ReplicationSpecification
Auto Trait Implementations§
impl Freeze for ReplicationSpecification
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more