Interface TransactGetItemsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<TransactGetItemsResponse.Builder,,TransactGetItemsResponse> DynamoDbResponse.Builder,SdkBuilder<TransactGetItemsResponse.Builder,,TransactGetItemsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
TransactGetItemsResponse
-
Method Summary
Modifier and TypeMethodDescriptionconsumedCapacity(Collection<ConsumedCapacity> consumedCapacity) If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter.consumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity) If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter.consumedCapacity(ConsumedCapacity... consumedCapacity) If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter.responses(Collection<ItemResponse> responses) An ordered array of up to 100ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array.responses(Consumer<ItemResponse.Builder>... responses) An ordered array of up to 100ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array.responses(ItemResponse... responses) An ordered array of up to 100ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
consumedCapacity
If the ReturnConsumedCapacity value was
TOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter. TheseConsumedCapacityobjects report the read-capacity units consumed by theTransactGetItemscall in that table.- Parameters:
consumedCapacity- If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter. TheseConsumedCapacityobjects report the read-capacity units consumed by theTransactGetItemscall in that table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumedCapacity
If the ReturnConsumedCapacity value was
TOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter. TheseConsumedCapacityobjects report the read-capacity units consumed by theTransactGetItemscall in that table.- Parameters:
consumedCapacity- If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter. TheseConsumedCapacityobjects report the read-capacity units consumed by theTransactGetItemscall 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 ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter. TheseConsumedCapacityobjects report the read-capacity units consumed by theTransactGetItemscall in that table.ConsumedCapacity.Builderavoiding the need to create one manually viaConsumedCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumedCapacity(List<ConsumedCapacity>).- 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:
-
responses
An ordered array of up to 100
ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array. EachItemResponseobject 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
ItemResponseobject is Null, or if the requested item has no projected attributes, the correspondingItemResponseobject is an empty Map.- Parameters:
responses- An ordered array of up to 100ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array. EachItemResponseobject 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
ItemResponseobject is Null, or if the requested item has no projected attributes, the correspondingItemResponseobject is an empty Map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
An ordered array of up to 100
ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array. EachItemResponseobject 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
ItemResponseobject is Null, or if the requested item has no projected attributes, the correspondingItemResponseobject is an empty Map.- Parameters:
responses- An ordered array of up to 100ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array. EachItemResponseobject 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
ItemResponseobject is Null, or if the requested item has no projected attributes, the correspondingItemResponseobject is an empty Map.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
An ordered array of up to 100
ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array. EachItemResponseobject 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 theItemResponseobject is Null, or if the requested item has no projected attributes, the correspondingItemResponseobject is an empty Map.ItemResponse.Builderavoiding the need to create one manually viaItemResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponses(List<ItemResponse>).- 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:
-