Struct aws_sdk_dynamodb::operation::transact_get_items::builders::TransactGetItemsInputBuilder
source · #[non_exhaustive]pub struct TransactGetItemsInputBuilder { /* private fields */ }
Expand description
A builder for TransactGetItemsInput
.
Implementations§
source§impl TransactGetItemsInputBuilder
impl TransactGetItemsInputBuilder
sourcepub fn transact_items(self, input: TransactGetItem) -> Self
pub fn transact_items(self, input: TransactGetItem) -> Self
Appends an item to transact_items
.
To override the contents of this collection use set_transact_items
.
An ordered array of up to 100 TransactGetItem
objects, each of which contains a Get
structure.
sourcepub fn set_transact_items(self, input: Option<Vec<TransactGetItem>>) -> Self
pub fn set_transact_items(self, input: Option<Vec<TransactGetItem>>) -> Self
An ordered array of up to 100 TransactGetItem
objects, each of which contains a Get
structure.
sourcepub fn return_consumed_capacity(self, input: ReturnConsumedCapacity) -> Self
pub fn return_consumed_capacity(self, input: ReturnConsumedCapacity) -> Self
A value of TOTAL
causes consumed capacity information to be returned, and a value of NONE
prevents that information from being returned. No other value is valid.
sourcepub fn set_return_consumed_capacity(
self,
input: Option<ReturnConsumedCapacity>
) -> Self
pub fn set_return_consumed_capacity( self, input: Option<ReturnConsumedCapacity> ) -> Self
A value of TOTAL
causes consumed capacity information to be returned, and a value of NONE
prevents that information from being returned. No other value is valid.
sourcepub fn build(self) -> Result<TransactGetItemsInput, BuildError>
pub fn build(self) -> Result<TransactGetItemsInput, BuildError>
Consumes the builder and constructs a TransactGetItemsInput
.
Trait Implementations§
source§impl Clone for TransactGetItemsInputBuilder
impl Clone for TransactGetItemsInputBuilder
source§fn clone(&self) -> TransactGetItemsInputBuilder
fn clone(&self) -> TransactGetItemsInputBuilder
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 TransactGetItemsInputBuilder
impl Debug for TransactGetItemsInputBuilder
source§impl Default for TransactGetItemsInputBuilder
impl Default for TransactGetItemsInputBuilder
source§fn default() -> TransactGetItemsInputBuilder
fn default() -> TransactGetItemsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TransactGetItemsInputBuilder> for TransactGetItemsInputBuilder
impl PartialEq<TransactGetItemsInputBuilder> for TransactGetItemsInputBuilder
source§fn eq(&self, other: &TransactGetItemsInputBuilder) -> bool
fn eq(&self, other: &TransactGetItemsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransactGetItemsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TransactGetItemsInputBuilder
impl Send for TransactGetItemsInputBuilder
impl Sync for TransactGetItemsInputBuilder
impl Unpin for TransactGetItemsInputBuilder
impl UnwindSafe for TransactGetItemsInputBuilder
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