@Override
    public Object unmarshall(AttributeValue value) {
        return Integer.valueOf(value.getN());
    }
An unmarshaller that unmarshals DynamoDB Numbers into Java
{@code Integer}s.
aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/unmarshallers/IntegerUnmarshaller.java