#[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
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) -> &[String]
pub fn availability_zones(&self) -> &[String]
The Availability Zone(s) from which to remove nodes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none()
.
sourcepub fn node_ids_to_remove(&self) -> &[String]
pub fn node_ids_to_remove(&self) -> &[String]
The unique identifiers of the nodes to be removed 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 .node_ids_to_remove.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DecreaseReplicationFactorInput
impl PartialEq for DecreaseReplicationFactorInput
source§fn eq(&self, other: &DecreaseReplicationFactorInput) -> bool
fn eq(&self, other: &DecreaseReplicationFactorInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecreaseReplicationFactorInput
Auto Trait Implementations§
impl Freeze for DecreaseReplicationFactorInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more