Struct aws_sdk_elasticache::model::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
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeGroupMember) -> bool
fn ne(&self, other: &NodeGroupMember) -> bool
This method tests for !=
.
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 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