public class UpdateItemSpec extends AbstractSpecWithPrimaryKey<UpdateItemRequest>
Constructor and Description |
---|
UpdateItemSpec() |
getKeyComponents
public UpdateItemSpec withPrimaryKey(KeyAttribute... components)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<UpdateItemRequest>
public UpdateItemSpec withPrimaryKey(PrimaryKey primaryKey)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<UpdateItemRequest>
public UpdateItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<UpdateItemRequest>
public UpdateItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
AbstractSpecWithPrimaryKey
withPrimaryKey
in class AbstractSpecWithPrimaryKey<UpdateItemRequest>
public List<AttributeUpdate> getAttributeUpdate()
public UpdateItemSpec withAttributeUpdate(List<AttributeUpdate> attributeUpdates)
public UpdateItemSpec withAttributeUpdate(AttributeUpdate... attributeUpdates)
public UpdateItemSpec addAttributeUpdate(AttributeUpdate attributeUpdate)
public UpdateItemSpec clearAttributeUpdate()
public Collection<Expected> getExpected()
public UpdateItemSpec withExpected(Expected... expected)
public UpdateItemSpec withExpected(Collection<Expected> expected)
public String getUpdateExpression()
public UpdateItemSpec withUpdateExpression(String updateExpression)
public String getConditionExpression()
public UpdateItemSpec withConditionExpression(String conditionExpression)
public UpdateItemSpec withNameMap(Map<String,String> nameMap)
public UpdateItemSpec withValueMap(Map<String,Object> valueMap)
public String getConditionalOperator()
public String getReturnConsumedCapacity()
public UpdateItemSpec withReturnConsumedCapacity(String returnConsumedCapacity)
public UpdateItemSpec withReturnConsumedCapacity(ReturnConsumedCapacity returnConsumedCapacity)
public String getReturnItemCollectionMetrics()
public UpdateItemSpec withReturnItemCollectionMetrics(ReturnItemCollectionMetrics returnItemCollectionMetrics)
public UpdateItemSpec withReturnItemCollectionMetrics(String returnItemCollectionMetrics)
public String getReturnValues()
public UpdateItemSpec withReturnValues(ReturnValue returnValues)
public UpdateItemSpec withReturnValues(String returnValues)
public UpdateItemSpec withProgressListener(com.amazonaws.event.ProgressListener progressListener)
public UpdateItemSpec withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
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.