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 ==
.