DeleteItemSpec
, GetItemSpec
, UpdateItemSpec
public class AbstractSpecWithPrimaryKey<T extends AmazonWebServiceRequest> extends Object
Modifier and Type | Method | Description |
---|---|---|
Collection<KeyAttribute> |
getKeyComponents() |
Returns the primary key components that has been specified.
|
ProgressListener |
getProgressListener() |
|
T |
getRequest() |
Internal method.
|
RequestMetricCollector |
getRequestMetricCollector() |
|
void |
setProgressListener(ProgressListener progressListener) |
|
void |
setRequest(T req) |
|
void |
setRequestMetricCollector(RequestMetricCollector requestMetricCollector) |
|
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.
|
AbstractSpecWithPrimaryKey<T> |
withPrimaryKey(KeyAttribute... components) |
Sets the primary key with the specified key components.
|
AbstractSpecWithPrimaryKey<T> |
withPrimaryKey(PrimaryKey primaryKey) |
Sets the primary key.
|
software.amazon.awssdk.services.dynamodb.document.spec.AbstractSpec<T> |
withProgressListener(ProgressListener progressListener) |
|
software.amazon.awssdk.services.dynamodb.document.spec.AbstractSpec<T> |
withRequestMetricCollector(RequestMetricCollector requestMetricCollector) |
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 void setRequest(T req)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(RequestMetricCollector requestMetricCollector)
public software.amazon.awssdk.services.dynamodb.document.spec.AbstractSpec<T> withProgressListener(ProgressListener progressListener)
public software.amazon.awssdk.services.dynamodb.document.spec.AbstractSpec<T> withRequestMetricCollector(RequestMetricCollector requestMetricCollector)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.