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