Class: Dymos::Query::GetItem
- Inherits:
-
Base
- Object
- Base
- Dymos::Query::GetItem
show all
- Defined in:
- lib/dymos/query/get_item.rb
Instance Method Summary
collapse
Methods inherited from Base
#build, #initialize, #name
Instance Method Details
#attributes(*value) ⇒ Object
14
15
16
17
|
# File 'lib/dymos/query/get_item.rb', line 14
def attributes(*value)
@query[:attributes_to_get] = value
self
end
|
#command ⇒ Object
5
6
7
|
# File 'lib/dymos/query/get_item.rb', line 5
def command
'get_item'
end
|
#consistent_read(value) ⇒ Object
19
20
21
22
|
# File 'lib/dymos/query/get_item.rb', line 19
def consistent_read(value)
@query[:consistent_read] = value
self
end
|
#expression_attribute_names(value) ⇒ Object
34
35
36
37
|
# File 'lib/dymos/query/get_item.rb', line 34
def expression_attribute_names(value)
@query[:expression_attribute_names] = value.deep_stringify_keys
self
end
|
#key(value) ⇒ Object
9
10
11
12
|
# File 'lib/dymos/query/get_item.rb', line 9
def key(value)
@query[:key] = value.deep_stringify_keys
self
end
|
#projection_expression(value) ⇒ Object
29
30
31
32
|
# File 'lib/dymos/query/get_item.rb', line 29
def projection_expression(value)
@query[:projection_expression] = value
self
end
|
#return_consumed_capacity(value) ⇒ Object
24
25
26
27
|
# File 'lib/dymos/query/get_item.rb', line 24
def return_consumed_capacity(value)
@query[:return_consumed_capacity] = value.to_s.upcase
self
end
|