#[non_exhaustive]pub struct DecreaseNodeGroupsInGlobalReplicationGroupInput { /* private fields */ }
Implementations§
source§impl DecreaseNodeGroupsInGlobalReplicationGroupInput
impl DecreaseNodeGroupsInGlobalReplicationGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseNodeGroupsInGlobalReplicationGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseNodeGroupsInGlobalReplicationGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DecreaseNodeGroupsInGlobalReplicationGroup
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DecreaseNodeGroupsInGlobalReplicationGroupInput
.
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) -> i32
pub fn node_group_count(&self) -> i32
The number of node groups (shards) that results from the modification of the shard configuration
sourcepub fn global_node_groups_to_remove(&self) -> Option<&[String]>
pub fn global_node_groups_to_remove(&self) -> Option<&[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.
sourcepub fn global_node_groups_to_retain(&self) -> Option<&[String]>
pub fn global_node_groups_to_retain(&self) -> Option<&[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.
sourcepub fn apply_immediately(&self) -> bool
pub fn apply_immediately(&self) -> bool
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
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<DecreaseNodeGroupsInGlobalReplicationGroupInput> for DecreaseNodeGroupsInGlobalReplicationGroupInput
impl PartialEq<DecreaseNodeGroupsInGlobalReplicationGroupInput> 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 ==
.