Struct aws_sdk_dynamodb::operation::update_table_replica_auto_scaling::builders::UpdateTableReplicaAutoScalingInputBuilder
source · #[non_exhaustive]pub struct UpdateTableReplicaAutoScalingInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTableReplicaAutoScalingInput
.
Implementations§
source§impl UpdateTableReplicaAutoScalingInputBuilder
impl UpdateTableReplicaAutoScalingInputBuilder
sourcepub fn global_secondary_index_updates(
self,
input: GlobalSecondaryIndexAutoScalingUpdate
) -> Self
pub fn global_secondary_index_updates( self, input: GlobalSecondaryIndexAutoScalingUpdate ) -> Self
Appends an item to global_secondary_index_updates
.
To override the contents of this collection use set_global_secondary_index_updates
.
Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
sourcepub fn set_global_secondary_index_updates(
self,
input: Option<Vec<GlobalSecondaryIndexAutoScalingUpdate>>
) -> Self
pub fn set_global_secondary_index_updates( self, input: Option<Vec<GlobalSecondaryIndexAutoScalingUpdate>> ) -> Self
Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
sourcepub fn get_global_secondary_index_updates(
&self
) -> &Option<Vec<GlobalSecondaryIndexAutoScalingUpdate>>
pub fn get_global_secondary_index_updates( &self ) -> &Option<Vec<GlobalSecondaryIndexAutoScalingUpdate>>
Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the global table to be updated.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the global table to be updated.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the global table to be updated.
sourcepub fn provisioned_write_capacity_auto_scaling_update(
self,
input: AutoScalingSettingsUpdate
) -> Self
pub fn provisioned_write_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_provisioned_write_capacity_auto_scaling_update(
self,
input: Option<AutoScalingSettingsUpdate>
) -> Self
pub fn set_provisioned_write_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_provisioned_write_capacity_auto_scaling_update(
&self
) -> &Option<AutoScalingSettingsUpdate>
pub fn get_provisioned_write_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 replica_updates(self, input: ReplicaAutoScalingUpdate) -> Self
pub fn replica_updates(self, input: ReplicaAutoScalingUpdate) -> Self
Appends an item to replica_updates
.
To override the contents of this collection use set_replica_updates
.
Represents the auto scaling settings of replicas of the table that will be modified.
sourcepub fn set_replica_updates(
self,
input: Option<Vec<ReplicaAutoScalingUpdate>>
) -> Self
pub fn set_replica_updates( self, input: Option<Vec<ReplicaAutoScalingUpdate>> ) -> Self
Represents the auto scaling settings of replicas of the table that will be modified.
sourcepub fn get_replica_updates(&self) -> &Option<Vec<ReplicaAutoScalingUpdate>>
pub fn get_replica_updates(&self) -> &Option<Vec<ReplicaAutoScalingUpdate>>
Represents the auto scaling settings of replicas of the table that will be modified.
sourcepub fn build(self) -> Result<UpdateTableReplicaAutoScalingInput, BuildError>
pub fn build(self) -> Result<UpdateTableReplicaAutoScalingInput, BuildError>
Consumes the builder and constructs a UpdateTableReplicaAutoScalingInput
.
source§impl UpdateTableReplicaAutoScalingInputBuilder
impl UpdateTableReplicaAutoScalingInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateTableReplicaAutoScalingOutput, SdkError<UpdateTableReplicaAutoScalingError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateTableReplicaAutoScalingOutput, SdkError<UpdateTableReplicaAutoScalingError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTableReplicaAutoScalingInputBuilder
impl Clone for UpdateTableReplicaAutoScalingInputBuilder
source§fn clone(&self) -> UpdateTableReplicaAutoScalingInputBuilder
fn clone(&self) -> UpdateTableReplicaAutoScalingInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateTableReplicaAutoScalingInputBuilder
impl Default for UpdateTableReplicaAutoScalingInputBuilder
source§fn default() -> UpdateTableReplicaAutoScalingInputBuilder
fn default() -> UpdateTableReplicaAutoScalingInputBuilder
source§impl PartialEq<UpdateTableReplicaAutoScalingInputBuilder> for UpdateTableReplicaAutoScalingInputBuilder
impl PartialEq<UpdateTableReplicaAutoScalingInputBuilder> for UpdateTableReplicaAutoScalingInputBuilder
source§fn eq(&self, other: &UpdateTableReplicaAutoScalingInputBuilder) -> bool
fn eq(&self, other: &UpdateTableReplicaAutoScalingInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.