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
sourceimpl 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.
sourceimpl NodeGroupMember
impl NodeGroupMember
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeGroupMember.
Trait Implementations
sourceimpl Clone for NodeGroupMember
impl Clone for NodeGroupMember
sourcefn clone(&self) -> NodeGroupMember
fn clone(&self) -> NodeGroupMember
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for NodeGroupMember
impl Debug for NodeGroupMember
sourceimpl PartialEq<NodeGroupMember> for NodeGroupMember
impl PartialEq<NodeGroupMember> for NodeGroupMember
sourcefn eq(&self, other: &NodeGroupMember) -> bool
fn eq(&self, other: &NodeGroupMember) -> bool
impl StructuralPartialEq for NodeGroupMember
Auto Trait Implementations
impl RefUnwindSafe for NodeGroupMember
impl Send for NodeGroupMember
impl Sync for NodeGroupMember
impl Unpin for NodeGroupMember
impl UnwindSafe for NodeGroupMember
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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