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