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 aUpdateItem
operation, such asDynamoDbTable.updateItemWithResponse(UpdateItemEnhancedRequest)
andDynamoDbAsyncTable.updateItemWithResponse(UpdateItemEnhancedRequest)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateItemEnhancedResponse.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
attributes()
The returned attribute values.static <T> UpdateItemEnhancedResponse.Builder<T>
builder(Class<? extends T> clzz)
ConsumedCapacity
consumedCapacity()
The capacity units consumed by theUpdateItem
operation.boolean
equals(Object o)
int
hashCode()
ItemCollectionMetrics
itemCollectionMetrics()
Information about item collections, if any, that were affected by theUpdateItem
operation.
-
-
-
Method Detail
-
attributes
public T attributes()
The returned attribute values. These correspond to the DynamoDBReturnValue
setting. By default, the attributes reflect the values after theUpdateItem
operation has been applied (ReturnValue.ALL_NEW
).
-
consumedCapacity
public ConsumedCapacity consumedCapacity()
The capacity units consumed by theUpdateItem
operation.- See Also:
for more information.
-
itemCollectionMetrics
public ItemCollectionMetrics itemCollectionMetrics()
Information about item collections, if any, that were affected by theUpdateItem
operation.- See Also:
for more information.
-
builder
public static <T> UpdateItemEnhancedResponse.Builder<T> builder(Class<? extends T> clzz)
-
-