Struct aws_sdk_memorydb::model::Shard
source · #[non_exhaustive]pub struct Shard { /* private fields */ }
Expand description
Represents a collection of nodes in a cluster. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.
Implementations§
source§impl Shard
impl Shard
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current state of this replication group - creating, available, modifying, deleting.
sourcepub fn nodes(&self) -> Option<&[Node]>
pub fn nodes(&self) -> Option<&[Node]>
A list containing information about individual nodes within the shard
sourcepub fn number_of_nodes(&self) -> Option<i32>
pub fn number_of_nodes(&self) -> Option<i32>
The number of nodes in the shard