Struct aws_sdk_dynamodb::input::transact_get_items_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TransactGetItemsInput
.
Implementations§
source§impl Builder
impl Builder
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
.