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: String
The name of the keyspace.
resource_arn: String
The unique identifier of the keyspace in the format of an Amazon Resource Name (ARN).
replication_strategy: 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) -> &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 ==
.