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