public class GetItemSpec extends AbstractSpecWithPrimaryKey<GetItemRequest>
| Constructor and Description |
|---|
GetItemSpec() |
getKeyComponentspublic GetItemSpec withPrimaryKey(KeyAttribute... components)
AbstractSpecWithPrimaryKeywithPrimaryKey in class AbstractSpecWithPrimaryKey<GetItemRequest>public GetItemSpec withPrimaryKey(PrimaryKey primaryKey)
AbstractSpecWithPrimaryKeywithPrimaryKey in class AbstractSpecWithPrimaryKey<GetItemRequest>public GetItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue)
AbstractSpecWithPrimaryKeywithPrimaryKey in class AbstractSpecWithPrimaryKey<GetItemRequest>public GetItemSpec withPrimaryKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
AbstractSpecWithPrimaryKeywithPrimaryKey in class AbstractSpecWithPrimaryKey<GetItemRequest>public String getReturnConsumedCapacity()
public GetItemSpec withReturnConsumedCapacity(ReturnConsumedCapacity capacity)
public GetItemSpec withAttributesToGet(String... attrNames)
public Boolean isConsistentRead()
public GetItemSpec withConsistentRead(boolean consistentRead)
public String getProjectionExpression()
public GetItemSpec withProjectionExpression(String expression)
withNameMap(Map). (Note
attributes-to-get must not be specified if a projection expression has
been specified.)public GetItemSpec withNameMap(Map<String,String> nameMap)
public GetItemSpec withProgressListener(ProgressListener progressListener)
public GetItemSpec withRequestMetricCollector(RequestMetricCollector requestMetricCollector)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Copyright © 2014. All rights reserved.