Class PutItemSpec
java.lang.Object
com.amazonaws.services.dynamodbv2.document.spec.PutItemSpec
Full parameter specification for the PutItem API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItem()
Internal method.void
setProgressListener
(ProgressListener progressListener) void
setRequestMetricCollector
(RequestMetricCollector requestMetricCollector) withConditionalOperator
(ConditionalOperator conditionalOperator) withConditionExpression
(String conditionExpression) withExpected
(Expected... expected) withExpected
(Collection<Expected> expected) Convenient method to specify expressions (and the associated name map and value map) viaPutItemExpressionSpec
.withNameMap
(Map<String, String> nameMap) Applicable only when an expression has been specified.withProgressListener
(ProgressListener progressListener) withRequestMetricCollector
(RequestMetricCollector requestMetricCollector) withReturnConsumedCapacity
(ReturnConsumedCapacity returnConsumedCapacity) withReturnItemCollectionMetrics
(ReturnItemCollectionMetrics returnItemCollectionMetrics) withReturnValues
(ReturnValue returnValues) withValueMap
(Map<String, Object> valueMap) Applicable only when an expression has been specified.
-
Constructor Details
-
PutItemSpec
public PutItemSpec()
-
-
Method Details
-
getItem
-
withItem
-
getExpected
-
withExpected
-
withExpected
-
getConditionExpression
-
withConditionExpression
-
getNameMap
-
withNameMap
Applicable only when an expression has been specified. Used to specify the actual values for the attribute-name placeholders, where the value in the map can either be string for simple attribute name, or a JSON path expression. -
getValueMap
-
withValueMap
Applicable only when an expression has been specified. Used to specify the actual values for the attribute-value placeholders. -
getConditionalOperator
-
withConditionalOperator
-
getReturnConsumedCapacity
-
withReturnConsumedCapacity
-
getReturnItemCollectionMetrics
-
withReturnItemCollectionMetrics
public PutItemSpec withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics) -
getReturnValues
-
withReturnValues
-
withProgressListener
-
withRequestMetricCollector
-
withExpressionSpec
Convenient method to specify expressions (and the associated name map and value map) viaPutItemExpressionSpec
. -
getRequest
Internal method. Not meant to be called directly. May change without notice. -
getProgressListener
-
setProgressListener
-
getRequestMetricCollector
-
setRequestMetricCollector
-