Struct aws_sdk_elasticache::model::NodeGroupConfiguration
source · [−]#[non_exhaustive]pub struct NodeGroupConfiguration { /* private fields */ }Expand description
Node group (shard) configuration options. Each node group (shard) configuration has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones, ReplicaCount.
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.
sourcepub fn replica_outpost_arns(&self) -> Option<&[String]>
pub fn replica_outpost_arns(&self) -> Option<&[String]>
The outpost ARN of the node replicas.
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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more