Class DeleteItemSpec
java.lang.Object
com.amazonaws.services.dynamodbv2.document.spec.AbstractSpecWithPrimaryKey<DeleteItemRequest>
com.amazonaws.services.dynamodbv2.document.spec.DeleteItemSpec
Full parameter specification for the DeleteItem API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInternal 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) viaDeleteItemExpressionSpec
.withNameMap
(Map<String, String> nameMap) Applicable only when an expression has been specified.withPrimaryKey
(KeyAttribute... components) Sets the primary key with the specified key components.withPrimaryKey
(PrimaryKey primaryKey) Sets the primary key.withPrimaryKey
(String hashKeyName, Object hashKeyValue) Sets the primary key with the specified hash-only key name and value.withPrimaryKey
(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue) Sets the primary key with the specified hash key and range key.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.Methods inherited from class com.amazonaws.services.dynamodbv2.document.spec.AbstractSpecWithPrimaryKey
getKeyComponents
-
Constructor Details
-
DeleteItemSpec
public DeleteItemSpec()
-
-
Method Details
-
withPrimaryKey
Description copied from class:AbstractSpecWithPrimaryKey
Sets the primary key with the specified key components.- Overrides:
withPrimaryKey
in classAbstractSpecWithPrimaryKey<DeleteItemRequest>
-
withPrimaryKey
Description copied from class:AbstractSpecWithPrimaryKey
Sets the primary key.- Overrides:
withPrimaryKey
in classAbstractSpecWithPrimaryKey<DeleteItemRequest>
-
withPrimaryKey
Description copied from class:AbstractSpecWithPrimaryKey
Sets the primary key with the specified hash-only key name and value.- Overrides:
withPrimaryKey
in classAbstractSpecWithPrimaryKey<DeleteItemRequest>
-
withPrimaryKey
public DeleteItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue) Description copied from class:AbstractSpecWithPrimaryKey
Sets the primary key with the specified hash key and range key.- Overrides:
withPrimaryKey
in classAbstractSpecWithPrimaryKey<DeleteItemRequest>
-
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 DeleteItemSpec withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics) -
getReturnValues
-
withReturnValues
-
withProgressListener
-
withRequestMetricCollector
-
withExpressionSpec
Convenient method to specify expressions (and the associated name map and value map) viaDeleteItemExpressionSpec
. -
getRequest
Internal method. Not meant to be called directly. May change without notice. -
getProgressListener
-
setProgressListener
-
getRequestMetricCollector
-
setRequestMetricCollector
-