Struct aws_sdk_elasticache::types::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§
source§impl 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) -> &[String]
pub fn replica_availability_zones(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replica_availability_zones.is_none()
.
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) -> &[String]
pub fn replica_outpost_arns(&self) -> &[String]
The outpost ARN of the node replicas.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replica_outpost_arns.is_none()
.
source§impl NodeGroupConfiguration
impl NodeGroupConfiguration
sourcepub fn builder() -> NodeGroupConfigurationBuilder
pub fn builder() -> NodeGroupConfigurationBuilder
Creates a new builder-style object to manufacture NodeGroupConfiguration
.
Trait Implementations§
source§impl Clone for NodeGroupConfiguration
impl Clone for NodeGroupConfiguration
source§fn clone(&self) -> NodeGroupConfiguration
fn clone(&self) -> NodeGroupConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for NodeGroupConfiguration
impl Debug for NodeGroupConfiguration
source§impl PartialEq for NodeGroupConfiguration
impl PartialEq for NodeGroupConfiguration
source§fn eq(&self, other: &NodeGroupConfiguration) -> bool
fn eq(&self, other: &NodeGroupConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NodeGroupConfiguration
Auto Trait Implementations§
impl Freeze for NodeGroupConfiguration
impl RefUnwindSafe for NodeGroupConfiguration
impl Send for NodeGroupConfiguration
impl Sync for NodeGroupConfiguration
impl Unpin for NodeGroupConfiguration
impl UnwindSafe for NodeGroupConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more