public class AbstractSpecWithPrimaryKey<T extends 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.
|
ProgressListener |
getProgressListener() |
T |
getRequest()
Internal method.
|
void |
setProgressListener(ProgressListener progressListener) |
void |
setRequest(T req) |
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.
|
software.amazon.awssdk.services.dynamodb.document.spec.AbstractSpec<T> |
withProgressListener(ProgressListener progressListener) |
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 void setRequest(T req)
public T getRequest()
public ProgressListener getProgressListener()
public void setProgressListener(ProgressListener progressListener)
public software.amazon.awssdk.services.dynamodb.document.spec.AbstractSpec<T> withProgressListener(ProgressListener progressListener)
Copyright © 2017. All rights reserved.