Struct aws_sdk_elasticache::operation::decrease_node_groups_in_global_replication_group::DecreaseNodeGroupsInGlobalReplicationGroupInput
source · #[non_exhaustive]pub struct DecreaseNodeGroupsInGlobalReplicationGroupInput {
pub global_replication_group_id: Option<String>,
pub node_group_count: Option<i32>,
pub global_node_groups_to_remove: Option<Vec<String>>,
pub global_node_groups_to_retain: Option<Vec<String>>,
pub apply_immediately: Option<bool>,
}
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.global_replication_group_id: Option<String>
The name of the Global datastore
node_group_count: Option<i32>
The number of node groups (shards) that results from the modification of the shard configuration
global_node_groups_to_remove: Option<Vec<String>>
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the cluster.
global_node_groups_to_retain: Option<Vec<String>>
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the cluster.
apply_immediately: Option<bool>
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
Implementations§
source§impl DecreaseNodeGroupsInGlobalReplicationGroupInput
impl DecreaseNodeGroupsInGlobalReplicationGroupInput
sourcepub fn global_replication_group_id(&self) -> Option<&str>
pub fn global_replication_group_id(&self) -> Option<&str>
The name of the Global datastore
sourcepub fn node_group_count(&self) -> Option<i32>
pub fn node_group_count(&self) -> Option<i32>
The number of node groups (shards) that results from the modification of the shard configuration
sourcepub fn global_node_groups_to_remove(&self) -> &[String]
pub fn global_node_groups_to_remove(&self) -> &[String]
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRemove is a list of NodeGroupIds to remove from the cluster. ElastiCache for Redis will attempt to remove all node groups listed by GlobalNodeGroupsToRemove from the 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 .global_node_groups_to_remove.is_none()
.
sourcepub fn global_node_groups_to_retain(&self) -> &[String]
pub fn global_node_groups_to_retain(&self) -> &[String]
If the value of NodeGroupCount is less than the current number of node groups (shards), then either NodeGroupsToRemove or NodeGroupsToRetain is required. GlobalNodeGroupsToRetain is a list of NodeGroupIds to retain from the cluster. ElastiCache for Redis will attempt to retain all node groups listed by GlobalNodeGroupsToRetain from the 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 .global_node_groups_to_retain.is_none()
.
sourcepub fn apply_immediately(&self) -> Option<bool>
pub fn apply_immediately(&self) -> Option<bool>
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
source§impl DecreaseNodeGroupsInGlobalReplicationGroupInput
impl DecreaseNodeGroupsInGlobalReplicationGroupInput
sourcepub fn builder() -> DecreaseNodeGroupsInGlobalReplicationGroupInputBuilder
pub fn builder() -> DecreaseNodeGroupsInGlobalReplicationGroupInputBuilder
Creates a new builder-style object to manufacture DecreaseNodeGroupsInGlobalReplicationGroupInput
.
Trait Implementations§
source§impl Clone for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl Clone for DecreaseNodeGroupsInGlobalReplicationGroupInput
source§fn clone(&self) -> DecreaseNodeGroupsInGlobalReplicationGroupInput
fn clone(&self) -> DecreaseNodeGroupsInGlobalReplicationGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl PartialEq for DecreaseNodeGroupsInGlobalReplicationGroupInput
source§fn eq(&self, other: &DecreaseNodeGroupsInGlobalReplicationGroupInput) -> bool
fn eq(&self, other: &DecreaseNodeGroupsInGlobalReplicationGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecreaseNodeGroupsInGlobalReplicationGroupInput
Auto Trait Implementations§
impl Freeze for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl RefUnwindSafe for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl Send for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl Sync for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl Unpin for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl UnwindSafe for DecreaseNodeGroupsInGlobalReplicationGroupInput
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