#[non_exhaustive]pub struct ReplicaConfigurationRequest { /* private fields */ }
Expand description
A request to configure the number of replicas in a shard
Implementations§
source§impl ReplicaConfigurationRequest
impl ReplicaConfigurationRequest
sourcepub fn replica_count(&self) -> i32
pub fn replica_count(&self) -> i32
The number of replicas to scale up or down to
source§impl ReplicaConfigurationRequest
impl ReplicaConfigurationRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicaConfigurationRequest
.
Trait Implementations§
source§impl Clone for ReplicaConfigurationRequest
impl Clone for ReplicaConfigurationRequest
source§fn clone(&self) -> ReplicaConfigurationRequest
fn clone(&self) -> ReplicaConfigurationRequest
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 Debug for ReplicaConfigurationRequest
impl Debug for ReplicaConfigurationRequest
source§impl PartialEq<ReplicaConfigurationRequest> for ReplicaConfigurationRequest
impl PartialEq<ReplicaConfigurationRequest> for ReplicaConfigurationRequest
source§fn eq(&self, other: &ReplicaConfigurationRequest) -> bool
fn eq(&self, other: &ReplicaConfigurationRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.