Struct aws_sdk_dynamodb::types::builders::ItemResponseBuilder
source · #[non_exhaustive]pub struct ItemResponseBuilder { /* private fields */ }
Expand description
A builder for ItemResponse
.
Implementations§
source§impl ItemResponseBuilder
impl ItemResponseBuilder
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
.
Map of attribute data consisting of the data type and attribute value.
sourcepub fn set_item(self, input: Option<HashMap<String, AttributeValue>>) -> Self
pub fn set_item(self, input: Option<HashMap<String, AttributeValue>>) -> Self
Map of attribute data consisting of the data type and attribute value.
sourcepub fn build(self) -> ItemResponse
pub fn build(self) -> ItemResponse
Consumes the builder and constructs a ItemResponse
.
Trait Implementations§
source§impl Clone for ItemResponseBuilder
impl Clone for ItemResponseBuilder
source§fn clone(&self) -> ItemResponseBuilder
fn clone(&self) -> ItemResponseBuilder
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 ItemResponseBuilder
impl Debug for ItemResponseBuilder
source§impl Default for ItemResponseBuilder
impl Default for ItemResponseBuilder
source§fn default() -> ItemResponseBuilder
fn default() -> ItemResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ItemResponseBuilder> for ItemResponseBuilder
impl PartialEq<ItemResponseBuilder> for ItemResponseBuilder
source§fn eq(&self, other: &ItemResponseBuilder) -> bool
fn eq(&self, other: &ItemResponseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.