Struct aws_sdk_keyspaces::types::KeyspaceSummary
source · #[non_exhaustive]pub struct KeyspaceSummary {
pub keyspace_name: String,
pub resource_arn: String,
pub replication_strategy: Rs,
pub replication_regions: Option<Vec<String>>,
}Expand description
Represents the properties of a keyspace.
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.keyspace_name: StringThe name of the keyspace.
resource_arn: StringThe unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
replication_strategy: RsThis property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available values are SINGLE_REGION or MULTI_REGION.
replication_regions: Option<Vec<String>>If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
Implementations§
source§impl KeyspaceSummary
impl KeyspaceSummary
sourcepub fn keyspace_name(&self) -> &str
pub fn keyspace_name(&self) -> &str
The name of the keyspace.
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
sourcepub fn replication_strategy(&self) -> &Rs
pub fn replication_strategy(&self) -> &Rs
This property specifies if a keyspace is a single Region keyspace or a multi-Region keyspace. The available values are SINGLE_REGION or MULTI_REGION.
sourcepub fn replication_regions(&self) -> &[String]
pub fn replication_regions(&self) -> &[String]
If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_regions.is_none().
source§impl KeyspaceSummary
impl KeyspaceSummary
sourcepub fn builder() -> KeyspaceSummaryBuilder
pub fn builder() -> KeyspaceSummaryBuilder
Creates a new builder-style object to manufacture KeyspaceSummary.
Trait Implementations§
source§impl Clone for KeyspaceSummary
impl Clone for KeyspaceSummary
source§fn clone(&self) -> KeyspaceSummary
fn clone(&self) -> KeyspaceSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for KeyspaceSummary
impl Debug for KeyspaceSummary
source§impl PartialEq for KeyspaceSummary
impl PartialEq for KeyspaceSummary
source§fn eq(&self, other: &KeyspaceSummary) -> bool
fn eq(&self, other: &KeyspaceSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KeyspaceSummary
Auto Trait Implementations§
impl Freeze for KeyspaceSummary
impl RefUnwindSafe for KeyspaceSummary
impl Send for KeyspaceSummary
impl Sync for KeyspaceSummary
impl Unpin for KeyspaceSummary
impl UnwindSafe for KeyspaceSummary
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> 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