diff --git a/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java b/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java index 3b117643331b..e193fe681df8 100644 --- a/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java +++ b/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/DynamoDbAsyncTable.java @@ -324,7 +324,7 @@ default CompletableFuture> deleteItemWithResponse( * * * @param request A {@link GetItemEnhancedRequest} with key and optional directives for retrieving an item from the table. - * @return a {@link CompletableFuture} of the item that was persisted in the database before it was deleted. + * @return a {@link CompletableFuture} of the retrieved item. */ default CompletableFuture getItem(GetItemEnhancedRequest request) { throw new UnsupportedOperationException(); @@ -423,7 +423,7 @@ default CompletableFuture getItem(T keyItem) { * * * @param request A {@link GetItemEnhancedRequest} with key and optional directives for retrieving an item from the table. - * @return a {@link CompletableFuture} of the item that was persisted in the database before it was deleted. + * @return a {@link CompletableFuture} containing the response returned by DynamoDB. */ default CompletableFuture> getItemWithResponse(GetItemEnhancedRequest request) { throw new UnsupportedOperationException(); @@ -454,7 +454,7 @@ default CompletableFuture> getItemWithResponse(GetIte * * @param requestConsumer A {@link Consumer} of {@link GetItemEnhancedRequest.Builder} with key and optional directives * for retrieving an item from the table. - * @return a {@link CompletableFuture} of the retrieved item + * @return a {@link CompletableFuture} containing the response returned by DynamoDB. */ default CompletableFuture> getItemWithResponse( Consumer requestConsumer) { @@ -931,7 +931,7 @@ default CompletableFuture deleteTable() { } /** - * Describes a table in DynamoDb with the name defined for this {@link DynamoDbAsyncTable). + * Describes a table in DynamoDb with the name defined for this {@link DynamoDbAsyncTable}. * This operation calls the low-level DynamoDB API DescribeTable operation, * see {@link DynamoDbAsyncClient#describeTable(DescribeTableRequest)} *