Struct aws_sdk_elasticache::client::fluent_builders::DecreaseNodeGroupsInGlobalReplicationGroup
source · pub struct DecreaseNodeGroupsInGlobalReplicationGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to DecreaseNodeGroupsInGlobalReplicationGroup
.
Decreases the number of node groups in a Global datastore
Implementations§
source§impl DecreaseNodeGroupsInGlobalReplicationGroup
impl DecreaseNodeGroupsInGlobalReplicationGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DecreaseNodeGroupsInGlobalReplicationGroup, AwsResponseRetryClassifier>, SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DecreaseNodeGroupsInGlobalReplicationGroup, AwsResponseRetryClassifier>, SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DecreaseNodeGroupsInGlobalReplicationGroupOutput, SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError>>
pub async fn send(
self
) -> Result<DecreaseNodeGroupsInGlobalReplicationGroupOutput, SdkError<DecreaseNodeGroupsInGlobalReplicationGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn global_replication_group_id(self, input: impl Into<String>) -> Self
pub fn global_replication_group_id(self, input: impl Into<String>) -> Self
The name of the Global datastore
sourcepub fn set_global_replication_group_id(self, input: Option<String>) -> Self
pub fn set_global_replication_group_id(self, input: Option<String>) -> Self
The name of the Global datastore
sourcepub fn node_group_count(self, input: i32) -> Self
pub fn node_group_count(self, input: i32) -> Self
The number of node groups (shards) that results from the modification of the shard configuration
sourcepub fn set_node_group_count(self, input: Option<i32>) -> Self
pub fn set_node_group_count(self, input: Option<i32>) -> Self
The number of node groups (shards) that results from the modification of the shard configuration
sourcepub fn global_node_groups_to_remove(self, input: impl Into<String>) -> Self
pub fn global_node_groups_to_remove(self, input: impl Into<String>) -> Self
Appends an item to GlobalNodeGroupsToRemove
.
To override the contents of this collection use set_global_node_groups_to_remove
.
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 set_global_node_groups_to_remove(self, input: Option<Vec<String>>) -> Self
pub fn set_global_node_groups_to_remove(self, input: Option<Vec<String>>) -> Self
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, input: impl Into<String>) -> Self
pub fn global_node_groups_to_retain(self, input: impl Into<String>) -> Self
Appends an item to GlobalNodeGroupsToRetain
.
To override the contents of this collection use set_global_node_groups_to_retain
.
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 set_global_node_groups_to_retain(self, input: Option<Vec<String>>) -> Self
pub fn set_global_node_groups_to_retain(self, input: Option<Vec<String>>) -> Self
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, input: bool) -> Self
pub fn apply_immediately(self, input: bool) -> Self
Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.
sourcepub fn set_apply_immediately(self, input: Option<bool>) -> Self
pub fn set_apply_immediately(self, input: Option<bool>) -> Self
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 DecreaseNodeGroupsInGlobalReplicationGroup
impl Clone for DecreaseNodeGroupsInGlobalReplicationGroup
source§fn clone(&self) -> DecreaseNodeGroupsInGlobalReplicationGroup
fn clone(&self) -> DecreaseNodeGroupsInGlobalReplicationGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more