Struct aws_sdk_elasticache::model::NodeGroupConfiguration
source · [−]#[non_exhaustive]pub struct NodeGroupConfiguration {
pub node_group_id: Option<String>,
pub slots: Option<String>,
pub replica_count: Option<i32>,
pub primary_availability_zone: Option<String>,
pub replica_availability_zones: Option<Vec<String>>,
pub primary_outpost_arn: Option<String>,
pub replica_outpost_arns: Option<Vec<String>>,
}
Expand description
Node group (shard) configuration options. Each node group (shard) configuration has the following: Slots
, PrimaryAvailabilityZone
, ReplicaAvailabilityZones
, ReplicaCount
.
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>
Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
slots: Option<String>
A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey
.
Example: "0-3999"
replica_count: Option<i32>
The number of read replica nodes in this node group (shard).
primary_availability_zone: Option<String>
The Availability Zone where the primary node of this node group (shard) is launched.
replica_availability_zones: Option<Vec<String>>
A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount
or ReplicasPerNodeGroup
if not specified.
primary_outpost_arn: Option<String>
The outpost ARN of the primary node.
replica_outpost_arns: Option<Vec<String>>
The outpost ARN of the node replicas.
Implementations
sourceimpl NodeGroupConfiguration
impl NodeGroupConfiguration
sourcepub fn node_group_id(&self) -> Option<&str>
pub fn node_group_id(&self) -> Option<&str>
Either the ElastiCache for Redis supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
sourcepub fn slots(&self) -> Option<&str>
pub fn slots(&self) -> Option<&str>
A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format startkey-endkey
.
Example: "0-3999"
sourcepub fn replica_count(&self) -> Option<i32>
pub fn replica_count(&self) -> Option<i32>
The number of read replica nodes in this node group (shard).
sourcepub fn primary_availability_zone(&self) -> Option<&str>
pub fn primary_availability_zone(&self) -> Option<&str>
The Availability Zone where the primary node of this node group (shard) is launched.
sourcepub fn replica_availability_zones(&self) -> Option<&[String]>
pub fn replica_availability_zones(&self) -> Option<&[String]>
A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of ReplicaCount
or ReplicasPerNodeGroup
if not specified.
sourcepub fn primary_outpost_arn(&self) -> Option<&str>
pub fn primary_outpost_arn(&self) -> Option<&str>
The outpost ARN of the primary node.
sourceimpl NodeGroupConfiguration
impl NodeGroupConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NodeGroupConfiguration
Trait Implementations
sourceimpl Clone for NodeGroupConfiguration
impl Clone for NodeGroupConfiguration
sourcefn clone(&self) -> NodeGroupConfiguration
fn clone(&self) -> NodeGroupConfiguration
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 NodeGroupConfiguration
impl Debug for NodeGroupConfiguration
sourceimpl PartialEq<NodeGroupConfiguration> for NodeGroupConfiguration
impl PartialEq<NodeGroupConfiguration> for NodeGroupConfiguration
sourcefn eq(&self, other: &NodeGroupConfiguration) -> bool
fn eq(&self, other: &NodeGroupConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeGroupConfiguration) -> bool
fn ne(&self, other: &NodeGroupConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for NodeGroupConfiguration
Auto Trait Implementations
impl RefUnwindSafe for NodeGroupConfiguration
impl Send for NodeGroupConfiguration
impl Sync for NodeGroupConfiguration
impl Unpin for NodeGroupConfiguration
impl UnwindSafe for NodeGroupConfiguration
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