#[non_exhaustive]pub struct ReplicaAutoScalingUpdateBuilder { /* private fields */ }
Expand description
A builder for ReplicaAutoScalingUpdate
.
Implementations§
source§impl ReplicaAutoScalingUpdateBuilder
impl ReplicaAutoScalingUpdateBuilder
sourcepub fn region_name(self, input: impl Into<String>) -> Self
pub fn region_name(self, input: impl Into<String>) -> Self
The Region where the replica exists.
This field is required.sourcepub fn set_region_name(self, input: Option<String>) -> Self
pub fn set_region_name(self, input: Option<String>) -> Self
The Region where the replica exists.
sourcepub fn get_region_name(&self) -> &Option<String>
pub fn get_region_name(&self) -> &Option<String>
The Region where the replica exists.
sourcepub fn replica_global_secondary_index_updates(
self,
input: ReplicaGlobalSecondaryIndexAutoScalingUpdate,
) -> Self
pub fn replica_global_secondary_index_updates( self, input: ReplicaGlobalSecondaryIndexAutoScalingUpdate, ) -> Self
Appends an item to replica_global_secondary_index_updates
.
To override the contents of this collection use set_replica_global_secondary_index_updates
.
Represents the auto scaling settings of global secondary indexes that will be modified.
sourcepub fn set_replica_global_secondary_index_updates(
self,
input: Option<Vec<ReplicaGlobalSecondaryIndexAutoScalingUpdate>>,
) -> Self
pub fn set_replica_global_secondary_index_updates( self, input: Option<Vec<ReplicaGlobalSecondaryIndexAutoScalingUpdate>>, ) -> Self
Represents the auto scaling settings of global secondary indexes that will be modified.
sourcepub fn get_replica_global_secondary_index_updates(
&self,
) -> &Option<Vec<ReplicaGlobalSecondaryIndexAutoScalingUpdate>>
pub fn get_replica_global_secondary_index_updates( &self, ) -> &Option<Vec<ReplicaGlobalSecondaryIndexAutoScalingUpdate>>
Represents the auto scaling settings of global secondary indexes that will be modified.
sourcepub fn replica_provisioned_read_capacity_auto_scaling_update(
self,
input: AutoScalingSettingsUpdate,
) -> Self
pub fn replica_provisioned_read_capacity_auto_scaling_update( self, input: AutoScalingSettingsUpdate, ) -> Self
Represents the auto scaling settings to be modified for a global table or global secondary index.
sourcepub fn set_replica_provisioned_read_capacity_auto_scaling_update(
self,
input: Option<AutoScalingSettingsUpdate>,
) -> Self
pub fn set_replica_provisioned_read_capacity_auto_scaling_update( self, input: Option<AutoScalingSettingsUpdate>, ) -> Self
Represents the auto scaling settings to be modified for a global table or global secondary index.
sourcepub fn get_replica_provisioned_read_capacity_auto_scaling_update(
&self,
) -> &Option<AutoScalingSettingsUpdate>
pub fn get_replica_provisioned_read_capacity_auto_scaling_update( &self, ) -> &Option<AutoScalingSettingsUpdate>
Represents the auto scaling settings to be modified for a global table or global secondary index.
sourcepub fn build(self) -> Result<ReplicaAutoScalingUpdate, BuildError>
pub fn build(self) -> Result<ReplicaAutoScalingUpdate, BuildError>
Consumes the builder and constructs a ReplicaAutoScalingUpdate
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ReplicaAutoScalingUpdateBuilder
impl Clone for ReplicaAutoScalingUpdateBuilder
source§fn clone(&self) -> ReplicaAutoScalingUpdateBuilder
fn clone(&self) -> ReplicaAutoScalingUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReplicaAutoScalingUpdateBuilder
impl Default for ReplicaAutoScalingUpdateBuilder
source§fn default() -> ReplicaAutoScalingUpdateBuilder
fn default() -> ReplicaAutoScalingUpdateBuilder
source§impl PartialEq for ReplicaAutoScalingUpdateBuilder
impl PartialEq for ReplicaAutoScalingUpdateBuilder
source§fn eq(&self, other: &ReplicaAutoScalingUpdateBuilder) -> bool
fn eq(&self, other: &ReplicaAutoScalingUpdateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicaAutoScalingUpdateBuilder
Auto Trait Implementations§
impl Freeze for ReplicaAutoScalingUpdateBuilder
impl RefUnwindSafe for ReplicaAutoScalingUpdateBuilder
impl Send for ReplicaAutoScalingUpdateBuilder
impl Sync for ReplicaAutoScalingUpdateBuilder
impl Unpin for ReplicaAutoScalingUpdateBuilder
impl UnwindSafe for ReplicaAutoScalingUpdateBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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