Object Persistence
Interface

Some AWS SDKs provide an object persistence interface where you do not directly
perform data plane operations. Instead, you create objects that represent items in
DynamoDB tables and indexes, and interact only with those objects. This allows you
to
write object-centric code, rather than database-centric code.

You can then instantiate a MusicItem object, and retrieve a song
using the load() method of DynamoDBMapper. The program
then prints the year that the song was released.

The com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMapper class implements the DynamoDB object persistence interface. Note how DynamoDBMapper acts as a wrapper around the low-level client (AmazonDynamoDB).