@Stability(value=Experimental) public static final class DynamoGetItem.Builder extends Object
DynamoGetItem.| Modifier and Type | Method and Description |
|---|---|
DynamoGetItem |
build() |
DynamoGetItem.Builder |
consistentRead(Boolean consistentRead)
Determines the read consistency model: If set to true, then the operation uses strongly consistent reads;
|
static DynamoGetItem.Builder |
create()
EXPERIMENTAL
|
DynamoGetItem.Builder |
expressionAttributeNames(Map<String,String> expressionAttributeNames)
One or more substitution tokens for attribute names in an expression.
|
DynamoGetItem.Builder |
partitionKey(DynamoAttribute partitionKey)
A attribute representing the partition key of the item to retrieve.
|
DynamoGetItem.Builder |
projectionExpression(List<DynamoProjectionExpression> projectionExpression)
An array of DynamoProjectionExpression that identifies one or more attributes to retrieve from the table.
|
DynamoGetItem.Builder |
returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
Determines the level of detail about provisioned throughput consumption that is returned in the response.
|
DynamoGetItem.Builder |
sortKey(DynamoAttribute sortKey)
A attribute representing the sort key of the item to retrieve.
|
DynamoGetItem.Builder |
tableName(String tableName)
The name of the table containing the requested item.
|
@Stability(value=Experimental) public static DynamoGetItem.Builder create()
DynamoGetItem.Builder.@Stability(value=Experimental) public DynamoGetItem.Builder partitionKey(DynamoAttribute partitionKey)
EXPERIMENTAL
partitionKey - A attribute representing the partition key of the item to retrieve. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html#DDB-GetItem-request-Key@Stability(value=Experimental) public DynamoGetItem.Builder tableName(String tableName)
EXPERIMENTAL
tableName - The name of the table containing the requested item. This parameter is required.this@Stability(value=Experimental) public DynamoGetItem.Builder consistentRead(Boolean consistentRead)
otherwise, the operation uses eventually consistent reads.
Default: false
EXPERIMENTAL
consistentRead - Determines the read consistency model: If set to true, then the operation uses strongly consistent reads;. This parameter is required.this@Stability(value=Experimental) public DynamoGetItem.Builder expressionAttributeNames(Map<String,String> expressionAttributeNames)
Default: - No expression attributes
EXPERIMENTAL
expressionAttributeNames - One or more substitution tokens for attribute names in an expression. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html#DDB-GetItem-request-ExpressionAttributeNames@Stability(value=Experimental) public DynamoGetItem.Builder projectionExpression(List<DynamoProjectionExpression> projectionExpression)
These attributes can include scalars, sets, or elements of a JSON document.
Default: - No projection expression
EXPERIMENTAL
projectionExpression - An array of DynamoProjectionExpression that identifies one or more attributes to retrieve from the table. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html#DDB-GetItem-request-ProjectionExpression@Stability(value=Experimental) public DynamoGetItem.Builder returnConsumedCapacity(DynamoConsumedCapacity returnConsumedCapacity)
Default: DynamoConsumedCapacity.NONE
EXPERIMENTAL
returnConsumedCapacity - Determines the level of detail about provisioned throughput consumption that is returned in the response. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html#DDB-GetItem-request-ReturnConsumedCapacity@Stability(value=Experimental) public DynamoGetItem.Builder sortKey(DynamoAttribute sortKey)
Default: - No sort key
EXPERIMENTAL
sortKey - A attribute representing the sort key of the item to retrieve. This parameter is required.thishttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_GetItem.html#DDB-GetItem-request-Key@Stability(value=Experimental) public DynamoGetItem build()
Copyright © 2020. All rights reserved.