Struct aws_sdk_elasticache::model::NodeGroup
source · [−]#[non_exhaustive]pub struct NodeGroup {
pub node_group_id: Option<String>,
pub status: Option<String>,
pub primary_endpoint: Option<Endpoint>,
pub reader_endpoint: Option<Endpoint>,
pub slots: Option<String>,
pub node_group_members: Option<Vec<NodeGroupMember>>,
}
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.
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.node_group_id: Option<String>
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.
status: Option<String>
The current state of this replication group - creating
, available
, modifying
, deleting
.
primary_endpoint: Option<Endpoint>
The endpoint of the primary node in this node group (shard).
reader_endpoint: Option<Endpoint>
The endpoint of the replica nodes in this node group (shard).
slots: Option<String>
The keyspace for this node group (shard).
node_group_members: Option<Vec<NodeGroupMember>>
A list containing information about individual nodes within the node group (shard).
Implementations
sourceimpl 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).
Trait Implementations
impl StructuralPartialEq for NodeGroup
Auto Trait Implementations
impl RefUnwindSafe for NodeGroup
impl Send for NodeGroup
impl Sync for NodeGroup
impl Unpin for NodeGroup
impl UnwindSafe for NodeGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more