Struct aws_sdk_dynamodb::operation::batch_execute_statement::builders::BatchExecuteStatementOutputBuilder
source · #[non_exhaustive]pub struct BatchExecuteStatementOutputBuilder { /* private fields */ }
Expand description
A builder for BatchExecuteStatementOutput
.
Implementations§
source§impl BatchExecuteStatementOutputBuilder
impl BatchExecuteStatementOutputBuilder
sourcepub fn responses(self, input: BatchStatementResponse) -> Self
pub fn responses(self, input: BatchStatementResponse) -> Self
Appends an item to responses
.
To override the contents of this collection use set_responses
.
The response to each PartiQL statement in the batch.
sourcepub fn set_responses(self, input: Option<Vec<BatchStatementResponse>>) -> Self
pub fn set_responses(self, input: Option<Vec<BatchStatementResponse>>) -> Self
The response to each PartiQL statement in the batch.
sourcepub fn consumed_capacity(self, input: ConsumedCapacity) -> Self
pub fn consumed_capacity(self, input: ConsumedCapacity) -> Self
Appends an item to consumed_capacity
.
To override the contents of this collection use set_consumed_capacity
.
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
sourcepub fn set_consumed_capacity(self, input: Option<Vec<ConsumedCapacity>>) -> Self
pub fn set_consumed_capacity(self, input: Option<Vec<ConsumedCapacity>>) -> Self
The capacity units consumed by the entire operation. The values of the list are ordered according to the ordering of the statements.
sourcepub fn build(self) -> BatchExecuteStatementOutput
pub fn build(self) -> BatchExecuteStatementOutput
Consumes the builder and constructs a BatchExecuteStatementOutput
.
Trait Implementations§
source§impl Clone for BatchExecuteStatementOutputBuilder
impl Clone for BatchExecuteStatementOutputBuilder
source§fn clone(&self) -> BatchExecuteStatementOutputBuilder
fn clone(&self) -> BatchExecuteStatementOutputBuilder
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 BatchExecuteStatementOutputBuilder
impl Default for BatchExecuteStatementOutputBuilder
source§fn default() -> BatchExecuteStatementOutputBuilder
fn default() -> BatchExecuteStatementOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchExecuteStatementOutputBuilder> for BatchExecuteStatementOutputBuilder
impl PartialEq<BatchExecuteStatementOutputBuilder> for BatchExecuteStatementOutputBuilder
source§fn eq(&self, other: &BatchExecuteStatementOutputBuilder) -> bool
fn eq(&self, other: &BatchExecuteStatementOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchExecuteStatementOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchExecuteStatementOutputBuilder
impl Send for BatchExecuteStatementOutputBuilder
impl Sync for BatchExecuteStatementOutputBuilder
impl Unpin for BatchExecuteStatementOutputBuilder
impl UnwindSafe for BatchExecuteStatementOutputBuilder
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