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 get_transact_items(&self) -> &Option<Vec<TransactGetItem>>
pub fn get_transact_items(&self) -> &Option<Vec<TransactGetItem>>
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 get_return_consumed_capacity(&self) -> &Option<ReturnConsumedCapacity>
pub fn get_return_consumed_capacity(&self) -> &Option<ReturnConsumedCapacity>
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.
source§impl TransactGetItemsInputBuilder
impl TransactGetItemsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<TransactGetItemsOutput, SdkError<TransactGetItemsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<TransactGetItemsOutput, SdkError<TransactGetItemsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for TransactGetItemsInputBuilder
impl Clone for TransactGetItemsInputBuilder
source§fn clone(&self) -> TransactGetItemsInputBuilder
fn clone(&self) -> TransactGetItemsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for TransactGetItemsInputBuilder
impl PartialEq for TransactGetItemsInputBuilder
source§fn eq(&self, other: &TransactGetItemsInputBuilder) -> bool
fn eq(&self, other: &TransactGetItemsInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransactGetItemsInputBuilder
Auto Trait Implementations§
impl Freeze for TransactGetItemsInputBuilder
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
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)
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>
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>
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 more