Struct aws_sdk_elasticache::types::NodeGroupMember
source · #[non_exhaustive]pub struct NodeGroupMember {
pub cache_cluster_id: Option<String>,
pub cache_node_id: Option<String>,
pub read_endpoint: Option<Endpoint>,
pub preferred_availability_zone: Option<String>,
pub preferred_outpost_arn: Option<String>,
pub current_role: Option<String>,
}
Expand description
Represents a single node within a node group (shard).
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.cache_cluster_id: Option<String>
The ID of the cluster to which the node belongs.
cache_node_id: Option<String>
The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).
read_endpoint: 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.
preferred_availability_zone: Option<String>
The name of the Availability Zone in which the node is located.
preferred_outpost_arn: Option<String>
The outpost ARN of the node group member.
current_role: Option<String>
The role that is currently assigned to the node - primary
or replica
. This member is only applicable for Redis (cluster mode disabled) replication groups.
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() -> NodeGroupMemberBuilder
pub fn builder() -> NodeGroupMemberBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NodeGroupMember
impl Debug for NodeGroupMember
source§impl PartialEq for NodeGroupMember
impl PartialEq for NodeGroupMember
source§fn eq(&self, other: &NodeGroupMember) -> bool
fn eq(&self, other: &NodeGroupMember) -> bool
self
and other
values to be equal, and is used
by ==
.