public static interface ExecuteStatementResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<ExecuteStatementResponse.Builder,ExecuteStatementResponse>
Modifier and Type | Method and Description |
---|---|
ExecuteStatementResponse.Builder |
consumedCapacity(ConsumedCapacity consumedCapacity)
Sets the value of the ConsumedCapacity property for this object.
|
default ExecuteStatementResponse.Builder |
consumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity)
Sets the value of the ConsumedCapacity property for this object.
|
ExecuteStatementResponse.Builder |
items(Collection<? extends Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute
names and their values.
|
ExecuteStatementResponse.Builder |
items(Map<String,AttributeValue>... items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute
names and their values.
|
ExecuteStatementResponse.Builder |
lastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set.
|
ExecuteStatementResponse.Builder |
nextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExecuteStatementResponse.Builder items(Collection<? extends Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
items
- If a read operation was used, this property will contain the result of the read operation; a map of
attribute names and their values. For the write operations this value will be empty.ExecuteStatementResponse.Builder items(Map<String,AttributeValue>... items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
items
- If a read operation was used, this property will contain the result of the read operation; a map of
attribute names and their values. For the write operations this value will be empty.ExecuteStatementResponse.Builder nextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
nextToken
- If the response of a read request exceeds the response payload limit DynamoDB will set this value in
the response. If set, you can use that this value in the subsequent request to get the remaining
results.ExecuteStatementResponse.Builder consumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- The new value for the ConsumedCapacity property for this object.default ExecuteStatementResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder> consumedCapacity)
ConsumedCapacity.Builder
avoiding the
need to create one manually via ConsumedCapacity.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to consumedCapacity(ConsumedCapacity)
.consumedCapacity
- a consumer that will call methods on ConsumedCapacity.Builder
consumedCapacity(ConsumedCapacity)
ExecuteStatementResponse.Builder lastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value
to start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty,
then the "last page" of results has been processed and there is no more data to be retrieved. If
LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the
result set. The only way to know when you have reached the end of the result set is when
LastEvaluatedKey
is empty.
lastEvaluatedKey
- The primary key of the item where the operation stopped, inclusive of the previous result set. Use
this value to start a new operation, excluding this value in the new request. If
LastEvaluatedKey
is empty, then the "last page" of results has been processed and there
is no more data to be retrieved. If LastEvaluatedKey
is not empty, it does not
necessarily mean that there is more data in the result set. The only way to know when you have reached
the end of the result set is when LastEvaluatedKey
is empty.Copyright © 2022. All rights reserved.