public class DeleteItemSpec extends AbstractSpecWithPrimaryKey<DeleteItemRequest>
Constructor and Description |
---|
DeleteItemSpec() |
Modifier and Type | Method and Description |
---|---|
String |
getConditionalOperator() |
String |
getConditionExpression() |
Collection<Expected> |
getExpected() |
Map<String,String> |
getNameMap() |
com.amazonaws.event.ProgressListener |
getProgressListener() |
T |
getRequest()
Internal method.
|
com.amazonaws.metrics.RequestMetricCollector |
getRequestMetricCollector() |
String |
getReturnConsumedCapacity() |
String |
getReturnItemCollectionMetrics() |
String |
getReturnValues() |
Map<String,Object> |
getValueMap() |
void |
setProgressListener(com.amazonaws.event.ProgressListener progressListener) |
void |
setRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector) |
DeleteItemSpec |
withConditionalOperator(ConditionalOperator conditionalOperator) |
DeleteItemSpec |
withConditionExpression(String conditionExpression) |
DeleteItemSpec |
withExpected(Collection<Expected> expected) |
DeleteItemSpec |
withExpected(Expected... expected) |
DeleteItemSpec |
withExpressionSpec(DeleteItemExpressionSpec xspec)
Convenient method to specify expressions (and the associated name map and
value map) via
DeleteItemExpressionSpec . |
DeleteItemSpec |
withNameMap(Map<String,String> nameMap)
Applicable only when an expression has been specified.
|
DeleteItemSpec |
withPrimaryKey(KeyAttribute... components)
Sets the primary key with the specified key components.
|
DeleteItemSpec |
withPrimaryKey(PrimaryKey primaryKey)
Sets the primary key.
|
DeleteItemSpec |
withPrimaryKey(String hashKeyName,
Object hashKeyValue)
Sets the primary key with the specified hash-only key name and value.
|
DeleteItemSpec |
withPrimaryKey(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue)
Sets the primary key with the specified hash key and range key.
|
DeleteItemSpec |
withProgressListener(com.amazonaws.event.ProgressListener progressListener) |
DeleteItemSpec |
withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector) |
DeleteItemSpec |
withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity) |
DeleteItemSpec |
withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics) |
DeleteItemSpec |
withReturnValues(ReturnValue returnValues) |
DeleteItemSpec |
withValueMap(Map<String,Object> valueMap)
Applicable only when an expression has been specified.
|
getKeyComponents
public DeleteItemSpec withPrimaryKey(KeyAttribute... components)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<DeleteItemRequest>
public DeleteItemSpec withPrimaryKey(PrimaryKey primaryKey)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<DeleteItemRequest>
public DeleteItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<DeleteItemRequest>
public DeleteItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<DeleteItemRequest>
public Collection<Expected> getExpected()
public DeleteItemSpec withExpected(Expected... expected)
public DeleteItemSpec withExpected(Collection<Expected> expected)
public String getConditionExpression()
public DeleteItemSpec withConditionExpression(String conditionExpression)
public DeleteItemSpec withNameMap(Map<String,String> nameMap)
public DeleteItemSpec withValueMap(Map<String,Object> valueMap)
public String getConditionalOperator()
public DeleteItemSpec withConditionalOperator(ConditionalOperator conditionalOperator)
public String getReturnConsumedCapacity()
public DeleteItemSpec withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
public String getReturnItemCollectionMetrics()
public DeleteItemSpec withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics)
public String getReturnValues()
public DeleteItemSpec withReturnValues(ReturnValue returnValues)
public DeleteItemSpec withProgressListener(com.amazonaws.event.ProgressListener progressListener)
public DeleteItemSpec withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
@Beta public DeleteItemSpec withExpressionSpec(DeleteItemExpressionSpec xspec)
DeleteItemExpressionSpec
.public T getRequest()
public com.amazonaws.event.ProgressListener getProgressListener()
public void setProgressListener(com.amazonaws.event.ProgressListener progressListener)
public com.amazonaws.metrics.RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
Copyright © 2015. All rights reserved.