Skip to content

Commit e2911ec

Browse files
antegocanvamillems
authored andcommitted
Fix return type in the example
1 parent 78678d6 commit e2911ec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

services-custom/dynamodb-enhanced/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ public class Customer extends GenericRecord {
360360
public String getName() { return this.name; }
361361
public void setName(String name) { this.name = name;}
362362
363-
public String getRecord() { return this.record; }
364-
public void setRecord(String record) { this.record = record;}
363+
public GenericRecord getRecord() { return this.record; }
364+
public void setRecord(GenericRecord record) { this.record = record;}
365365
}
366366
367367
@DynamoDbBean
@@ -425,8 +425,8 @@ public class Customer {
425425
public void setName(String name) { this.name = name;}
426426
427427
@DynamoDbFlatten(dynamoDbBeanClass = GenericRecord.class)
428-
public String getRecord() { return this.record; }
429-
public void setRecord(String record) { this.record = record;}
428+
public GenericRecord getRecord() { return this.record; }
429+
public void setRecord(GenericRecord record) { this.record = record;}
430430
}
431431
432432
@DynamoDbBean
@@ -485,4 +485,4 @@ private static final StaticTableSchema<Customer> CUSTOMER_TABLE_SCHEMA =
485485
.build();
486486
```
487487
Just as for annotations, you can flatten as many different eligible classes as you like using the
488-
builder pattern.
488+
builder pattern.

0 commit comments

Comments
 (0)