Struct aws_sdk_elasticache::model::NodeGroup
source · #[non_exhaustive]pub struct NodeGroup { /* private fields */ }
Expand description
Represents a collection of cache nodes in a replication group. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.
Implementations§
source§impl NodeGroup
impl NodeGroup
sourcepub fn node_group_id(&self) -> Option<&str>
pub fn node_group_id(&self) -> Option<&str>
The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can provide the id for a node group.
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 primary_endpoint(&self) -> Option<&Endpoint>
pub fn primary_endpoint(&self) -> Option<&Endpoint>
The endpoint of the primary node in this node group (shard).
sourcepub fn reader_endpoint(&self) -> Option<&Endpoint>
pub fn reader_endpoint(&self) -> Option<&Endpoint>
The endpoint of the replica nodes in this node group (shard).
sourcepub fn node_group_members(&self) -> Option<&[NodeGroupMember]>
pub fn node_group_members(&self) -> Option<&[NodeGroupMember]>
A list containing information about individual nodes within the node group (shard).