Struct aws_sdk_dynamodb::types::builders::ReplicaUpdateBuilder
source · #[non_exhaustive]pub struct ReplicaUpdateBuilder { /* private fields */ }
Expand description
A builder for ReplicaUpdate
.
Implementations§
source§impl ReplicaUpdateBuilder
impl ReplicaUpdateBuilder
sourcepub fn create(self, input: CreateReplicaAction) -> Self
pub fn create(self, input: CreateReplicaAction) -> Self
The parameters required for creating a replica on an existing global table.
sourcepub fn set_create(self, input: Option<CreateReplicaAction>) -> Self
pub fn set_create(self, input: Option<CreateReplicaAction>) -> Self
The parameters required for creating a replica on an existing global table.
sourcepub fn get_create(&self) -> &Option<CreateReplicaAction>
pub fn get_create(&self) -> &Option<CreateReplicaAction>
The parameters required for creating a replica on an existing global table.
sourcepub fn delete(self, input: DeleteReplicaAction) -> Self
pub fn delete(self, input: DeleteReplicaAction) -> Self
The name of the existing replica to be removed.
sourcepub fn set_delete(self, input: Option<DeleteReplicaAction>) -> Self
pub fn set_delete(self, input: Option<DeleteReplicaAction>) -> Self
The name of the existing replica to be removed.
sourcepub fn get_delete(&self) -> &Option<DeleteReplicaAction>
pub fn get_delete(&self) -> &Option<DeleteReplicaAction>
The name of the existing replica to be removed.
sourcepub fn build(self) -> ReplicaUpdate
pub fn build(self) -> ReplicaUpdate
Consumes the builder and constructs a ReplicaUpdate
.
Trait Implementations§
source§impl Clone for ReplicaUpdateBuilder
impl Clone for ReplicaUpdateBuilder
source§fn clone(&self) -> ReplicaUpdateBuilder
fn clone(&self) -> ReplicaUpdateBuilder
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 Debug for ReplicaUpdateBuilder
impl Debug for ReplicaUpdateBuilder
source§impl Default for ReplicaUpdateBuilder
impl Default for ReplicaUpdateBuilder
source§fn default() -> ReplicaUpdateBuilder
fn default() -> ReplicaUpdateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplicaUpdateBuilder
impl PartialEq for ReplicaUpdateBuilder
source§fn eq(&self, other: &ReplicaUpdateBuilder) -> bool
fn eq(&self, other: &ReplicaUpdateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReplicaUpdateBuilder
Auto Trait Implementations§
impl Freeze for ReplicaUpdateBuilder
impl RefUnwindSafe for ReplicaUpdateBuilder
impl Send for ReplicaUpdateBuilder
impl Sync for ReplicaUpdateBuilder
impl Unpin for ReplicaUpdateBuilder
impl UnwindSafe for ReplicaUpdateBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.