Class UpdateItemEnhancedResponse<T>
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.UpdateItemEnhancedResponse<T>
-
- Type Parameters:
T- The type of the item.
@ThreadSafe public final class UpdateItemEnhancedResponse<T> extends Object
Defines the elements returned by DynamoDB from aUpdateItemoperation, such asDynamoDbTable.updateItemWithResponse(UpdateItemEnhancedRequest)andDynamoDbAsyncTable.updateItemWithResponse(UpdateItemEnhancedRequest).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpdateItemEnhancedResponse.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tattributes()The returned attribute values.static <T> UpdateItemEnhancedResponse.Builder<T>builder(Class<? extends T> clzz)ConsumedCapacityconsumedCapacity()The capacity units consumed by theUpdateItemoperation.booleanequals(Object o)inthashCode()ItemCollectionMetricsitemCollectionMetrics()Information about item collections, if any, that were affected by theUpdateItemoperation.
-
-
-
Method Detail
-
attributes
public T attributes()
The returned attribute values. These correspond to the DynamoDBReturnValuesetting. By default, the attributes reflect the values after theUpdateItemoperation has been applied (ReturnValue.ALL_NEW).
-
consumedCapacity
public ConsumedCapacity consumedCapacity()
The capacity units consumed by theUpdateItemoperation.- See Also:
for more information.
-
itemCollectionMetrics
public ItemCollectionMetrics itemCollectionMetrics()
Information about item collections, if any, that were affected by theUpdateItemoperation.- See Also:
for more information.
-
builder
public static <T> UpdateItemEnhancedResponse.Builder<T> builder(Class<? extends T> clzz)
-
-