Struct aws_sdk_elasticache::model::NodeGroupMember
source · #[non_exhaustive]pub struct NodeGroupMember { /* private fields */ }
Expand description
Represents a single node within a node group (shard).
Implementations§
source§impl NodeGroupMember
impl NodeGroupMember
sourcepub fn cache_cluster_id(&self) -> Option<&str>
pub fn cache_cluster_id(&self) -> Option<&str>
The ID of the cluster to which the node belongs.
sourcepub fn cache_node_id(&self) -> Option<&str>
pub fn cache_node_id(&self) -> Option<&str>
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
sourcepub fn read_endpoint(&self) -> Option<&Endpoint>
pub fn read_endpoint(&self) -> Option<&Endpoint>
The information required for client programs to connect to a node for read operations. The read endpoint is only applicable on Redis (cluster mode disabled) clusters.
sourcepub fn preferred_availability_zone(&self) -> Option<&str>
pub fn preferred_availability_zone(&self) -> Option<&str>
The name of the Availability Zone in which the node is located.
sourcepub fn preferred_outpost_arn(&self) -> Option<&str>
pub fn preferred_outpost_arn(&self) -> Option<&str>
The outpost ARN of the node group member.
sourcepub fn current_role(&self) -> Option<&str>
pub fn current_role(&self) -> Option<&str>
The role that is currently assigned to the node - primary
or replica
. This member is only applicable for Redis (cluster mode disabled) replication groups.
source§impl NodeGroupMember
impl NodeGroupMember
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeGroupMember
.
Trait Implementations§
source§impl Clone for NodeGroupMember
impl Clone for NodeGroupMember
source§fn clone(&self) -> NodeGroupMember
fn clone(&self) -> NodeGroupMember
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NodeGroupMember
impl Debug for NodeGroupMember
source§impl PartialEq<NodeGroupMember> for NodeGroupMember
impl PartialEq<NodeGroupMember> for NodeGroupMember
source§fn eq(&self, other: &NodeGroupMember) -> bool
fn eq(&self, other: &NodeGroupMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.