Struct aws_sdk_keyspaces::types::KeyspaceSummary
source · #[non_exhaustive]pub struct KeyspaceSummary {
pub keyspace_name: Option<String>,
pub resource_arn: Option<String>,
pub replication_strategy: Option<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: Option<String>The name of the keyspace.
resource_arn: Option<String>The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
replication_strategy: Option<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.
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) -> Option<&str>
pub fn keyspace_name(&self) -> Option<&str>
The name of the keyspace.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
sourcepub fn replication_strategy(&self) -> Option<&Rs>
pub fn replication_strategy(&self) -> Option<&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) -> Option<&[String]>
pub fn replication_regions(&self) -> Option<&[String]>
If the replicationStrategy of the keyspace is MULTI_REGION, a list of replication Regions is returned.
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 ==.