pub struct AllowedNodeTypeModificationsMessage {
pub scale_down_modifications: Option<Vec<String>>,
pub scale_up_modifications: Option<Vec<String>>,
}
Expand description
Represents the allowed node types you can use to modify your cluster or replication group.
Fields§
§scale_down_modifications: Option<Vec<String>>
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group. When scaling down a Redis cluster or replication group using ModifyCacheCluster or ModifyReplicationGroup, use a value from this list for the CacheNodeType parameter.
scale_up_modifications: Option<Vec<String>>
A string list, each element of which specifies a cache node type which you can use to scale your cluster or replication group.
When scaling up a Redis cluster or replication group using ModifyCacheCluster
or ModifyReplicationGroup
, use a value from this list for the CacheNodeType
parameter.
Trait Implementations§
Source§impl Clone for AllowedNodeTypeModificationsMessage
impl Clone for AllowedNodeTypeModificationsMessage
Source§fn clone(&self) -> AllowedNodeTypeModificationsMessage
fn clone(&self) -> AllowedNodeTypeModificationsMessage
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 Default for AllowedNodeTypeModificationsMessage
impl Default for AllowedNodeTypeModificationsMessage
Source§fn default() -> AllowedNodeTypeModificationsMessage
fn default() -> AllowedNodeTypeModificationsMessage
Returns the “default value” for a type. Read more
Source§impl PartialEq for AllowedNodeTypeModificationsMessage
impl PartialEq for AllowedNodeTypeModificationsMessage
Source§fn eq(&self, other: &AllowedNodeTypeModificationsMessage) -> bool
fn eq(&self, other: &AllowedNodeTypeModificationsMessage) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AllowedNodeTypeModificationsMessage
Auto Trait Implementations§
impl Freeze for AllowedNodeTypeModificationsMessage
impl RefUnwindSafe for AllowedNodeTypeModificationsMessage
impl Send for AllowedNodeTypeModificationsMessage
impl Sync for AllowedNodeTypeModificationsMessage
impl Unpin for AllowedNodeTypeModificationsMessage
impl UnwindSafe for AllowedNodeTypeModificationsMessage
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