@Target(value=METHOD) @Retention(value=RUNTIME) public @interface DynamoDbPreserveEmptyObject
TableSchema.mapToItem(Map)
, a separate DynamoDB object that is stored in the current
object should be initialized as empty class if all fields in this class are null. Note that if this annotation is absent,
the object will be null.
Example using DynamoDbPreserveEmptyObject
:
{@code
Copyright © 2021. All rights reserved.