Struct aws_sdk_dynamodb::operation::update_global_table::builders::UpdateGlobalTableInputBuilder
source · #[non_exhaustive]pub struct UpdateGlobalTableInputBuilder { /* private fields */ }
Expand description
A builder for UpdateGlobalTableInput
.
Implementations§
source§impl UpdateGlobalTableInputBuilder
impl UpdateGlobalTableInputBuilder
sourcepub fn global_table_name(self, input: impl Into<String>) -> Self
pub fn global_table_name(self, input: impl Into<String>) -> Self
The global table name.
This field is required.sourcepub fn set_global_table_name(self, input: Option<String>) -> Self
pub fn set_global_table_name(self, input: Option<String>) -> Self
The global table name.
sourcepub fn get_global_table_name(&self) -> &Option<String>
pub fn get_global_table_name(&self) -> &Option<String>
The global table name.
sourcepub fn replica_updates(self, input: ReplicaUpdate) -> Self
pub fn replica_updates(self, input: ReplicaUpdate) -> Self
Appends an item to replica_updates
.
To override the contents of this collection use set_replica_updates
.
A list of Regions that should be added or removed from the global table.
sourcepub fn set_replica_updates(self, input: Option<Vec<ReplicaUpdate>>) -> Self
pub fn set_replica_updates(self, input: Option<Vec<ReplicaUpdate>>) -> Self
A list of Regions that should be added or removed from the global table.
sourcepub fn get_replica_updates(&self) -> &Option<Vec<ReplicaUpdate>>
pub fn get_replica_updates(&self) -> &Option<Vec<ReplicaUpdate>>
A list of Regions that should be added or removed from the global table.
sourcepub fn build(self) -> Result<UpdateGlobalTableInput, BuildError>
pub fn build(self) -> Result<UpdateGlobalTableInput, BuildError>
Consumes the builder and constructs a UpdateGlobalTableInput
.
source§impl UpdateGlobalTableInputBuilder
impl UpdateGlobalTableInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateGlobalTableOutput, SdkError<UpdateGlobalTableError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateGlobalTableOutput, SdkError<UpdateGlobalTableError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateGlobalTableInputBuilder
impl Clone for UpdateGlobalTableInputBuilder
source§fn clone(&self) -> UpdateGlobalTableInputBuilder
fn clone(&self) -> UpdateGlobalTableInputBuilder
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 UpdateGlobalTableInputBuilder
impl Default for UpdateGlobalTableInputBuilder
source§fn default() -> UpdateGlobalTableInputBuilder
fn default() -> UpdateGlobalTableInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateGlobalTableInputBuilder
impl PartialEq for UpdateGlobalTableInputBuilder
source§fn eq(&self, other: &UpdateGlobalTableInputBuilder) -> bool
fn eq(&self, other: &UpdateGlobalTableInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGlobalTableInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateGlobalTableInputBuilder
impl Send for UpdateGlobalTableInputBuilder
impl Sync for UpdateGlobalTableInputBuilder
impl Unpin for UpdateGlobalTableInputBuilder
impl UnwindSafe for UpdateGlobalTableInputBuilder
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.