#[non_exhaustive]pub struct ReplicaConfigurationRequestBuilder { /* private fields */ }
Expand description
A builder for ReplicaConfigurationRequest
.
Implementations§
source§impl ReplicaConfigurationRequestBuilder
impl ReplicaConfigurationRequestBuilder
sourcepub fn replica_count(self, input: i32) -> Self
pub fn replica_count(self, input: i32) -> Self
The number of replicas to scale up or down to
sourcepub fn set_replica_count(self, input: Option<i32>) -> Self
pub fn set_replica_count(self, input: Option<i32>) -> Self
The number of replicas to scale up or down to
sourcepub fn get_replica_count(&self) -> &Option<i32>
pub fn get_replica_count(&self) -> &Option<i32>
The number of replicas to scale up or down to
sourcepub fn build(self) -> ReplicaConfigurationRequest
pub fn build(self) -> ReplicaConfigurationRequest
Consumes the builder and constructs a ReplicaConfigurationRequest
.
Trait Implementations§
source§impl Clone for ReplicaConfigurationRequestBuilder
impl Clone for ReplicaConfigurationRequestBuilder
source§fn clone(&self) -> ReplicaConfigurationRequestBuilder
fn clone(&self) -> ReplicaConfigurationRequestBuilder
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 ReplicaConfigurationRequestBuilder
impl Default for ReplicaConfigurationRequestBuilder
source§fn default() -> ReplicaConfigurationRequestBuilder
fn default() -> ReplicaConfigurationRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplicaConfigurationRequestBuilder
impl PartialEq for ReplicaConfigurationRequestBuilder
source§fn eq(&self, other: &ReplicaConfigurationRequestBuilder) -> bool
fn eq(&self, other: &ReplicaConfigurationRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicaConfigurationRequestBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReplicaConfigurationRequestBuilder
impl Send for ReplicaConfigurationRequestBuilder
impl Sync for ReplicaConfigurationRequestBuilder
impl Unpin for ReplicaConfigurationRequestBuilder
impl UnwindSafe for ReplicaConfigurationRequestBuilder
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
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>
Creates a shared type from an unshared type.