Struct aws_sdk_dynamodb::model::get::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Get
.
Implementations§
source§impl Builder
impl Builder
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 names to AttributeValue
objects that specifies the primary key of the item to retrieve.
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 names to AttributeValue
objects that specifies the primary key of the item to retrieve.
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table from which to retrieve the specified item.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table from which to retrieve the specified item.
sourcepub fn projection_expression(self, input: impl Into<String>) -> Self
pub fn projection_expression(self, input: impl Into<String>) -> Self
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
sourcepub fn set_projection_expression(self, input: Option<String>) -> Self
pub fn set_projection_expression(self, input: Option<String>) -> Self
A string that identifies one or more attributes of the specified item to retrieve from the table. The attributes in the expression must be separated by commas. If no attribute names are specified, then all attributes of the specified item are returned. If any of the requested attributes are not found, they do not appear in the result.
sourcepub fn expression_attribute_names(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn expression_attribute_names(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to expression_attribute_names
.
To override the contents of this collection use set_expression_attribute_names
.
One or more substitution tokens for attribute names in the ProjectionExpression parameter.