Interface TransactGetItemsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>,DynamoDbResponse.Builder,SdkBuilder<TransactGetItemsResponse.Builder,TransactGetItemsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- TransactGetItemsResponse
@Mutable @NotThreadSafe 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.BuilderconsumedCapacity(Collection<ConsumedCapacity> consumedCapacity)If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter.TransactGetItemsResponse.BuilderconsumedCapacity(Consumer<ConsumedCapacity.Builder>... consumedCapacity)If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter.TransactGetItemsResponse.BuilderconsumedCapacity(ConsumedCapacity... consumedCapacity)If the ReturnConsumedCapacity value wasTOTAL, this is an array ofConsumedCapacityobjects, one for each table addressed byTransactGetItemobjects in the TransactItems parameter.TransactGetItemsResponse.Builderresponses(Collection<ItemResponse> responses)An ordered array of up to 100ItemResponseobjects, each of which corresponds to theTransactGetItemobject in the same position in the TransactItems array.TransactGetItemsResponse.Builderresponses(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.TransactGetItemsResponse.Builderresponses(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
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, sdkFieldNameToField, 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 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(ConsumedCapacity... 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 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
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
TransactGetItemsResponse.Builder responses(ItemResponse... 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
TransactGetItemsResponse.Builder responses(Consumer<ItemResponse.Builder>... 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 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)
-
-