Annotation Type DynamoDbAttribute


  • @Target(METHOD)
    @Retention(RUNTIME)
    public @interface DynamoDbAttribute
    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:

     {@code
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The attribute name that this property should map to in the DynamoDb record.
    • Element Detail

      • value

        String value
        The attribute name that this property should map to in the DynamoDb record. The value is case sensitive.