#[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 ==
.