public static interface TransactGetItemsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>
Modifier and Type | Method and Description |
---|---|
TransactGetItemsResponse.Builder |
consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL , this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects
in the TransactItems parameter. |
TransactGetItemsResponse.Builder |
consumedCapacity(ConsumedCapacity... consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL , this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects
in the TransactItems parameter. |
TransactGetItemsResponse.Builder |
consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL , this is an array of
ConsumedCapacity objects, one for each table addressed by TransactGetItem objects
in the TransactItems parameter. |
TransactGetItemsResponse.Builder |
responses(Collection<ItemResponse> responses)
An ordered array of up to 25
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
TransactGetItemsResponse.Builder |
responses(Consumer<ItemResponse.Builder>... responses)
An ordered array of up to 25
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
TransactGetItemsResponse.Builder |
responses(ItemResponse... responses)
An ordered array of up to 25
ItemResponse objects, each of which corresponds to the
TransactGetItem object in the same position in the TransactItems array. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransactGetItemsResponse.Builder consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was TOTAL
, this is an array of
ConsumedCapacity
objects, one for each table addressed by TransactGetItem
objects
in the TransactItems parameter. These ConsumedCapacity
objects report the read-capacity
units consumed by the TransactGetItems
call in that table.
consumedCapacity
- If the ReturnConsumedCapacity value was TOTAL
, this is an array of
ConsumedCapacity
objects, one for each table addressed by TransactGetItem
objects in the TransactItems parameter. These ConsumedCapacity
objects report the
read-capacity units consumed by the TransactGetItems
call in that table.TransactGetItemsResponse.Builder consumedCapacity(ConsumedCapacity... consumedCapacity)
If the ReturnConsumedCapacity value was TOTAL
, this is an array of
ConsumedCapacity
objects, one for each table addressed by TransactGetItem
objects
in the TransactItems parameter. These ConsumedCapacity
objects report the read-capacity
units consumed by the TransactGetItems
call in that table.
consumedCapacity
- If the ReturnConsumedCapacity value was TOTAL
, this is an array of
ConsumedCapacity
objects, one for each table addressed by TransactGetItem
objects in the TransactItems parameter. These ConsumedCapacity
objects report the
read-capacity units consumed by the TransactGetItems
call in that table.TransactGetItemsResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
If the ReturnConsumedCapacity value was TOTAL
, this is an array of
ConsumedCapacity
objects, one for each table addressed by TransactGetItem
objects
in the TransactItems parameter. These ConsumedCapacity
objects report the read-capacity
units consumed by the TransactGetItems
call in that table.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #consumedCapacity(List)
.consumedCapacity
- a consumer that will call methods on List.Builder
#consumedCapacity(List)
TransactGetItemsResponse.Builder responses(Collection<ItemResponse> responses)
An ordered array of up to 25 ItemResponse
objects, each of which corresponds to the
TransactGetItem
object in the same position in the TransactItems array. Each
ItemResponse
object contains a Map of the name-value pairs that are the projected attributes of
the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse
object is Null, or if
the requested item has no projected attributes, the corresponding ItemResponse
object is an
empty Map.
responses
- An ordered array of up to 25 ItemResponse
objects, each of which corresponds to the
TransactGetItem
object in the same position in the TransactItems array. Each
ItemResponse
object contains a Map of the name-value pairs that are the projected
attributes of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse
object is
Null, or if the requested item has no projected attributes, the corresponding
ItemResponse
object is an empty Map.
TransactGetItemsResponse.Builder responses(ItemResponse... responses)
An ordered array of up to 25 ItemResponse
objects, each of which corresponds to the
TransactGetItem
object in the same position in the TransactItems array. Each
ItemResponse
object contains a Map of the name-value pairs that are the projected attributes of
the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse
object is Null, or if
the requested item has no projected attributes, the corresponding ItemResponse
object is an
empty Map.
responses
- An ordered array of up to 25 ItemResponse
objects, each of which corresponds to the
TransactGetItem
object in the same position in the TransactItems array. Each
ItemResponse
object contains a Map of the name-value pairs that are the projected
attributes of the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse
object is
Null, or if the requested item has no projected attributes, the corresponding
ItemResponse
object is an empty Map.
TransactGetItemsResponse.Builder responses(Consumer<ItemResponse.Builder>... responses)
An ordered array of up to 25 ItemResponse
objects, each of which corresponds to the
TransactGetItem
object in the same position in the TransactItems array. Each
ItemResponse
object contains a Map of the name-value pairs that are the projected attributes of
the requested item.
If a requested item could not be retrieved, the corresponding ItemResponse
object is Null, or if
the requested item has no projected attributes, the corresponding ItemResponse
object is an
empty Map.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #responses(List)
.responses
- a consumer that will call methods on List.Builder
#responses(List)
Copyright © 2020. All rights reserved.