#[non_exhaustive]pub struct ReshardingConfiguration {
pub node_group_id: Option<String>,
pub preferred_availability_zones: Option<Vec<String>>,
}
Expand description
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the resharded cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
preferred_availability_zones: Option<Vec<String>>
A list of preferred availability zones for the nodes in this cluster.
Implementations§
source§impl ReshardingConfiguration
impl ReshardingConfiguration
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 preferred_availability_zones(&self) -> &[String]
pub fn preferred_availability_zones(&self) -> &[String]
A list of preferred availability zones for the nodes in this cluster.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .preferred_availability_zones.is_none()
.
source§impl ReshardingConfiguration
impl ReshardingConfiguration
sourcepub fn builder() -> ReshardingConfigurationBuilder
pub fn builder() -> ReshardingConfigurationBuilder
Creates a new builder-style object to manufacture ReshardingConfiguration
.
Trait Implementations§
source§impl Clone for ReshardingConfiguration
impl Clone for ReshardingConfiguration
source§fn clone(&self) -> ReshardingConfiguration
fn clone(&self) -> ReshardingConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReshardingConfiguration
impl Debug for ReshardingConfiguration
source§impl PartialEq for ReshardingConfiguration
impl PartialEq for ReshardingConfiguration
source§fn eq(&self, other: &ReshardingConfiguration) -> bool
fn eq(&self, other: &ReshardingConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReshardingConfiguration
Auto Trait Implementations§
impl Freeze for ReshardingConfiguration
impl RefUnwindSafe for ReshardingConfiguration
impl Send for ReshardingConfiguration
impl Sync for ReshardingConfiguration
impl Unpin for ReshardingConfiguration
impl UnwindSafe for ReshardingConfiguration
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.