Struct aws_sdk_dynamodb::types::builders::WriteRequestBuilder
source · #[non_exhaustive]pub struct WriteRequestBuilder { /* private fields */ }
Expand description
A builder for WriteRequest
.
Implementations§
source§impl WriteRequestBuilder
impl WriteRequestBuilder
sourcepub fn put_request(self, input: PutRequest) -> Self
pub fn put_request(self, input: PutRequest) -> Self
A request to perform a PutItem
operation.
sourcepub fn set_put_request(self, input: Option<PutRequest>) -> Self
pub fn set_put_request(self, input: Option<PutRequest>) -> Self
A request to perform a PutItem
operation.
sourcepub fn get_put_request(&self) -> &Option<PutRequest>
pub fn get_put_request(&self) -> &Option<PutRequest>
A request to perform a PutItem
operation.
sourcepub fn delete_request(self, input: DeleteRequest) -> Self
pub fn delete_request(self, input: DeleteRequest) -> Self
A request to perform a DeleteItem
operation.
sourcepub fn set_delete_request(self, input: Option<DeleteRequest>) -> Self
pub fn set_delete_request(self, input: Option<DeleteRequest>) -> Self
A request to perform a DeleteItem
operation.
sourcepub fn get_delete_request(&self) -> &Option<DeleteRequest>
pub fn get_delete_request(&self) -> &Option<DeleteRequest>
A request to perform a DeleteItem
operation.
sourcepub fn build(self) -> WriteRequest
pub fn build(self) -> WriteRequest
Consumes the builder and constructs a WriteRequest
.
Trait Implementations§
source§impl Clone for WriteRequestBuilder
impl Clone for WriteRequestBuilder
source§fn clone(&self) -> WriteRequestBuilder
fn clone(&self) -> WriteRequestBuilder
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 WriteRequestBuilder
impl Debug for WriteRequestBuilder
source§impl Default for WriteRequestBuilder
impl Default for WriteRequestBuilder
source§fn default() -> WriteRequestBuilder
fn default() -> WriteRequestBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for WriteRequestBuilder
impl PartialEq for WriteRequestBuilder
source§fn eq(&self, other: &WriteRequestBuilder) -> bool
fn eq(&self, other: &WriteRequestBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WriteRequestBuilder
Auto Trait Implementations§
impl Freeze for WriteRequestBuilder
impl RefUnwindSafe for WriteRequestBuilder
impl Send for WriteRequestBuilder
impl Sync for WriteRequestBuilder
impl Unpin for WriteRequestBuilder
impl UnwindSafe for WriteRequestBuilder
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.