#[non_exhaustive]pub struct UpdateGlobalSecondaryIndexActionBuilder { /* private fields */ }
Expand description
A builder for UpdateGlobalSecondaryIndexAction
.
Implementations§
source§impl UpdateGlobalSecondaryIndexActionBuilder
impl UpdateGlobalSecondaryIndexActionBuilder
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The name of the global secondary index to be updated.
This field is required.sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The name of the global secondary index to be updated.
sourcepub fn get_index_name(&self) -> &Option<String>
pub fn get_index_name(&self) -> &Option<String>
The name of the global secondary index to be updated.
sourcepub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
pub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
This field is required.sourcepub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
pub fn set_provisioned_throughput( self, input: Option<ProvisionedThroughput> ) -> Self
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
sourcepub fn get_provisioned_throughput(&self) -> &Option<ProvisionedThroughput>
pub fn get_provisioned_throughput(&self) -> &Option<ProvisionedThroughput>
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
sourcepub fn build(self) -> Result<UpdateGlobalSecondaryIndexAction, BuildError>
pub fn build(self) -> Result<UpdateGlobalSecondaryIndexAction, BuildError>
Consumes the builder and constructs a UpdateGlobalSecondaryIndexAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateGlobalSecondaryIndexActionBuilder
impl Clone for UpdateGlobalSecondaryIndexActionBuilder
source§fn clone(&self) -> UpdateGlobalSecondaryIndexActionBuilder
fn clone(&self) -> UpdateGlobalSecondaryIndexActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateGlobalSecondaryIndexActionBuilder
impl Default for UpdateGlobalSecondaryIndexActionBuilder
source§fn default() -> UpdateGlobalSecondaryIndexActionBuilder
fn default() -> UpdateGlobalSecondaryIndexActionBuilder
source§impl PartialEq for UpdateGlobalSecondaryIndexActionBuilder
impl PartialEq for UpdateGlobalSecondaryIndexActionBuilder
source§fn eq(&self, other: &UpdateGlobalSecondaryIndexActionBuilder) -> bool
fn eq(&self, other: &UpdateGlobalSecondaryIndexActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.