Used to explicitly designate a field or getter or setter to participate as an attribute in the mapped database object with a custom name. A string value must be specified to specify a different name for the attribute than the mapper would automatically infer using a naming strategy.
Example using DynamoDbAttribute:
@DynamoDbBean public class Bean { private String internalKey; @DynamoDbAttribute("renamedInternalKey") public String getInternalKey() { return this.internalKey; } public void setInternalKey(String internalKey) { return this.internalKey = internalKey;} } } Required Element Summary
Required Elements
The attribute name that this property should map to in the DynamoDb record.
Element Details
value
The attribute name that this property should map to in the DynamoDb record. The value is case sensitive.