#[non_exhaustive]pub struct DecreaseReplicationFactorInput {
pub cluster_name: Option<String>,
pub new_replication_factor: Option<i32>,
pub availability_zones: Option<Vec<String>>,
pub node_ids_to_remove: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cluster_name: Option<String>
The name of the DAX cluster from which you want to remove nodes.
new_replication_factor: Option<i32>
The new number of nodes for the DAX cluster.
availability_zones: Option<Vec<String>>
The Availability Zone(s) from which to remove nodes.
node_ids_to_remove: Option<Vec<String>>
The unique identifiers of the nodes to be removed from the cluster.
Implementations§
source§impl DecreaseReplicationFactorInput
impl DecreaseReplicationFactorInput
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the DAX cluster from which you want to remove nodes.
sourcepub fn new_replication_factor(&self) -> Option<i32>
pub fn new_replication_factor(&self) -> Option<i32>
The new number of nodes for the DAX cluster.
sourcepub fn availability_zones(&self) -> Option<&[String]>
pub fn availability_zones(&self) -> Option<&[String]>
The Availability Zone(s) from which to remove nodes.
sourcepub fn node_ids_to_remove(&self) -> Option<&[String]>
pub fn node_ids_to_remove(&self) -> Option<&[String]>
The unique identifiers of the nodes to be removed from the cluster.
source§impl DecreaseReplicationFactorInput
impl DecreaseReplicationFactorInput
sourcepub fn builder() -> DecreaseReplicationFactorInputBuilder
pub fn builder() -> DecreaseReplicationFactorInputBuilder
Creates a new builder-style object to manufacture DecreaseReplicationFactorInput
.
Trait Implementations§
source§impl Clone for DecreaseReplicationFactorInput
impl Clone for DecreaseReplicationFactorInput
source§fn clone(&self) -> DecreaseReplicationFactorInput
fn clone(&self) -> DecreaseReplicationFactorInput
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 PartialEq<DecreaseReplicationFactorInput> for DecreaseReplicationFactorInput
impl PartialEq<DecreaseReplicationFactorInput> for DecreaseReplicationFactorInput
source§fn eq(&self, other: &DecreaseReplicationFactorInput) -> bool
fn eq(&self, other: &DecreaseReplicationFactorInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecreaseReplicationFactorInput
Auto Trait Implementations§
impl RefUnwindSafe for DecreaseReplicationFactorInput
impl Send for DecreaseReplicationFactorInput
impl Sync for DecreaseReplicationFactorInput
impl Unpin for DecreaseReplicationFactorInput
impl UnwindSafe for DecreaseReplicationFactorInput
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