#[non_exhaustive]pub struct BatchStatementResponseBuilder { /* private fields */ }
Expand description
A builder for BatchStatementResponse
.
Implementations§
source§impl BatchStatementResponseBuilder
impl BatchStatementResponseBuilder
sourcepub fn error(self, input: BatchStatementError) -> Self
pub fn error(self, input: BatchStatementError) -> Self
The error associated with a failed PartiQL batch statement.
sourcepub fn set_error(self, input: Option<BatchStatementError>) -> Self
pub fn set_error(self, input: Option<BatchStatementError>) -> Self
The error associated with a failed PartiQL batch statement.
sourcepub fn get_error(&self) -> &Option<BatchStatementError>
pub fn get_error(&self) -> &Option<BatchStatementError>
The error associated with a failed PartiQL batch statement.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The table name associated with a failed PartiQL batch statement.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The table name associated with a failed PartiQL batch statement.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The table name associated with a failed PartiQL batch statement.
sourcepub fn item(self, k: impl Into<String>, v: AttributeValue) -> Self
pub fn item(self, k: impl Into<String>, v: AttributeValue) -> Self
Adds a key-value pair to item
.
To override the contents of this collection use set_item
.
A DynamoDB item associated with a BatchStatementResponse
sourcepub fn set_item(self, input: Option<HashMap<String, AttributeValue>>) -> Self
pub fn set_item(self, input: Option<HashMap<String, AttributeValue>>) -> Self
A DynamoDB item associated with a BatchStatementResponse
sourcepub fn get_item(&self) -> &Option<HashMap<String, AttributeValue>>
pub fn get_item(&self) -> &Option<HashMap<String, AttributeValue>>
A DynamoDB item associated with a BatchStatementResponse
sourcepub fn build(self) -> BatchStatementResponse
pub fn build(self) -> BatchStatementResponse
Consumes the builder and constructs a BatchStatementResponse
.
Trait Implementations§
source§impl Clone for BatchStatementResponseBuilder
impl Clone for BatchStatementResponseBuilder
source§fn clone(&self) -> BatchStatementResponseBuilder
fn clone(&self) -> BatchStatementResponseBuilder
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 BatchStatementResponseBuilder
impl Default for BatchStatementResponseBuilder
source§fn default() -> BatchStatementResponseBuilder
fn default() -> BatchStatementResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchStatementResponseBuilder
impl PartialEq for BatchStatementResponseBuilder
source§fn eq(&self, other: &BatchStatementResponseBuilder) -> bool
fn eq(&self, other: &BatchStatementResponseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchStatementResponseBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchStatementResponseBuilder
impl Send for BatchStatementResponseBuilder
impl Sync for BatchStatementResponseBuilder
impl Unpin for BatchStatementResponseBuilder
impl UnwindSafe for BatchStatementResponseBuilder
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.