public class AbstractSpecWithPrimaryKey<T extends com.amazonaws.AmazonWebServiceRequest> extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractSpecWithPrimaryKey(T request) |
Modifier and Type | Method and Description |
---|---|
Collection<KeyAttribute> |
getKeyComponents()
Returns the primary key components that has been specified.
|
com.amazonaws.event.ProgressListener |
getProgressListener() |
T |
getRequest()
Internal method.
|
com.amazonaws.metrics.RequestMetricCollector |
getRequestMetricCollector() |
void |
setProgressListener(com.amazonaws.event.ProgressListener progressListener) |
void |
setRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector) |
AbstractSpecWithPrimaryKey<T> |
withPrimaryKey(KeyAttribute... components)
Sets the primary key with the specified key components.
|
AbstractSpecWithPrimaryKey<T> |
withPrimaryKey(PrimaryKey primaryKey)
Sets the primary key.
|
AbstractSpecWithPrimaryKey<T> |
withPrimaryKey(String hashKeyName,
Object hashKeyValue)
Sets the primary key with the specified hash-only key name and value.
|
AbstractSpecWithPrimaryKey<T> |
withPrimaryKey(String hashKeyName,
Object hashKeyValue,
String rangeKeyName,
Object rangeKeyValue)
Sets the primary key with the specified hash key and range key.
|
com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec<T> |
withProgressListener(com.amazonaws.event.ProgressListener progressListener) |
com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec<T> |
withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector) |
protected AbstractSpecWithPrimaryKey(T request)
public final Collection<KeyAttribute> getKeyComponents()
public AbstractSpecWithPrimaryKey<T> withPrimaryKey(KeyAttribute... components)
public AbstractSpecWithPrimaryKey<T> withPrimaryKey(PrimaryKey primaryKey)
public AbstractSpecWithPrimaryKey<T> withPrimaryKey(String hashKeyName, Object hashKeyValue)
public AbstractSpecWithPrimaryKey<T> withPrimaryKey(String hashKeyName, Object hashKeyValue, String rangeKeyName, Object rangeKeyValue)
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)
public com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec<T> withProgressListener(com.amazonaws.event.ProgressListener progressListener)
public com.amazonaws.services.dynamodbv2.document.spec.AbstractSpec<T> withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector requestMetricCollector)
Copyright © 2014. All rights reserved.