Struct aws_sdk_dynamodb::types::builders::DeleteRequestBuilder   
source · #[non_exhaustive]pub struct DeleteRequestBuilder { /* private fields */ }Expand description
A builder for DeleteRequest.
Implementations§
source§impl DeleteRequestBuilder
 
impl DeleteRequestBuilder
sourcepub fn key(self, k: impl Into<String>, v: AttributeValue) -> Self
 
pub fn key(self, k: impl Into<String>, v: AttributeValue) -> Self
Adds a key-value pair to key.
To override the contents of this collection use set_key.
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.
sourcepub fn set_key(self, input: Option<HashMap<String, AttributeValue>>) -> Self
 
pub fn set_key(self, input: Option<HashMap<String, AttributeValue>>) -> Self
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.
sourcepub fn get_key(&self) -> &Option<HashMap<String, AttributeValue>>
 
pub fn get_key(&self) -> &Option<HashMap<String, AttributeValue>>
A map of attribute name to attribute values, representing the primary key of the item to delete. All of the table's primary key attributes must be specified, and their data types must match those of the table's key schema.
sourcepub fn build(self) -> Result<DeleteRequest, BuildError>
 
pub fn build(self) -> Result<DeleteRequest, BuildError>
Consumes the builder and constructs a DeleteRequest.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DeleteRequestBuilder
 
impl Clone for DeleteRequestBuilder
source§fn clone(&self) -> DeleteRequestBuilder
 
fn clone(&self) -> DeleteRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteRequestBuilder
 
impl Debug for DeleteRequestBuilder
source§impl Default for DeleteRequestBuilder
 
impl Default for DeleteRequestBuilder
source§fn default() -> DeleteRequestBuilder
 
fn default() -> DeleteRequestBuilder
source§impl PartialEq for DeleteRequestBuilder
 
impl PartialEq for DeleteRequestBuilder
source§fn eq(&self, other: &DeleteRequestBuilder) -> bool
 
fn eq(&self, other: &DeleteRequestBuilder) -> bool
self and other values to be equal, and is used
by ==.