Interface TransactGetItemsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>
,DynamoDbResponse.Builder
,SdkBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- TransactGetItemsResponse
public static interface TransactGetItemsResponse.Builder extends DynamoDbResponse.Builder, SdkPojo, CopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactGetItemsResponse.Builder
consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value wasTOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter.TransactGetItemsResponse.Builder
consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
If the ReturnConsumedCapacity value wasTOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter.TransactGetItemsResponse.Builder
consumedCapacity(ConsumedCapacity... consumedCapacity)
If the ReturnConsumedCapacity value wasTOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter.TransactGetItemsResponse.Builder
responses(Collection<ItemResponse> responses)
An ordered array of up to 100ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array.TransactGetItemsResponse.Builder
responses(Consumer<ItemResponse.Builder>... responses)
An ordered array of up to 100ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array.TransactGetItemsResponse.Builder
responses(ItemResponse... responses)
An ordered array of up to 100ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
consumedCapacity
TransactGetItemsResponse.Builder consumedCapacity(Collection<ConsumedCapacity> consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter. TheseConsumedCapacity
objects report the read-capacity units consumed by theTransactGetItems
call in that table.- Parameters:
consumedCapacity
- If the ReturnConsumedCapacity value wasTOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter. TheseConsumedCapacity
objects report the read-capacity units consumed by theTransactGetItems
call in that table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
TransactGetItemsResponse.Builder consumedCapacity(ConsumedCapacity... consumedCapacity)
If the ReturnConsumedCapacity value was
TOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter. TheseConsumedCapacity
objects report the read-capacity units consumed by theTransactGetItems
call in that table.- Parameters:
consumedCapacity
- If the ReturnConsumedCapacity value wasTOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter. TheseConsumedCapacity
objects report the read-capacity units consumed by theTransactGetItems
call in that table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
TransactGetItemsResponse.Builder consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)
If the ReturnConsumedCapacity value was
This is a convenience method that creates an instance of theTOTAL
, this is an array ofConsumedCapacity
objects, one for each table addressed byTransactGetItem
objects in the TransactItems parameter. TheseConsumedCapacity
objects report the read-capacity units consumed by theTransactGetItems
call in that table.ConsumedCapacity.Builder
avoiding the need to create one manually viaConsumedCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#consumedCapacity(List
.) - Parameters:
consumedCapacity
- a consumer that will call methods onConsumedCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#consumedCapacity(java.util.Collection
)
-
responses
TransactGetItemsResponse.Builder responses(Collection<ItemResponse> responses)
An ordered array of up to 100
ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array. EachItemResponse
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 correspondingItemResponse
object is an empty Map.- Parameters:
responses
- An ordered array of up to 100ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array. EachItemResponse
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 correspondingItemResponse
object is an empty Map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
TransactGetItemsResponse.Builder responses(ItemResponse... responses)
An ordered array of up to 100
ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array. EachItemResponse
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 correspondingItemResponse
object is an empty Map.- Parameters:
responses
- An ordered array of up to 100ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array. EachItemResponse
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 correspondingItemResponse
object is an empty Map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
TransactGetItemsResponse.Builder responses(Consumer<ItemResponse.Builder>... responses)
An ordered array of up to 100
ItemResponse
objects, each of which corresponds to theTransactGetItem
object in the same position in the TransactItems array. EachItemResponse
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
This is a convenience method that creates an instance of theItemResponse
object is Null, or if the requested item has no projected attributes, the correspondingItemResponse
object is an empty Map.ItemResponse.Builder
avoiding the need to create one manually viaItemResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#responses(List
.) - Parameters:
responses
- a consumer that will call methods onItemResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#responses(java.util.Collection
)
-
-