Class PutItemEnhancedResponse<T>
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.model.PutItemEnhancedResponse<T>
-
- Type Parameters:
T
- The type of the item.
@ThreadSafe public final class PutItemEnhancedResponse<T> extends Object
Defines the elements returned by DynamoDB from aPutItem
operation, such asDynamoDbTable.putItem(PutItemEnhancedRequest)
andDynamoDbAsyncTable.putItem(PutItemEnhancedRequest)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutItemEnhancedResponse.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description T
attributes()
The attribute values as they appeared before thePutItem
operation.static <T> PutItemEnhancedResponse.Builder<T>
builder(Class<? extends T> clzz)
ConsumedCapacity
consumedCapacity()
The capacity units consumed by thePutItem
operation.boolean
equals(Object o)
int
hashCode()
ItemCollectionMetrics
itemCollectionMetrics()
Information about item collections, if any, that were affected by thePutItem
operation.
-
-
-
Method Detail
-
attributes
public T attributes()
The attribute values as they appeared before thePutItem
operation.
-
consumedCapacity
public ConsumedCapacity consumedCapacity()
The capacity units consumed by thePutItem
operation.- See Also:
for more information.
-
itemCollectionMetrics
public ItemCollectionMetrics itemCollectionMetrics()
Information about item collections, if any, that were affected by thePutItem
operation.- See Also:
for more information.
-
builder
public static <T> PutItemEnhancedResponse.Builder<T> builder(Class<? extends T> clzz)
-
-