src/main/java/com/loyalty/homework/dao/DynamoDAO.java
public void put(@NonNull final R r) {
        initDBMapper();
        final DynamoDBMapperConfig.Builder builder = dbSupplier.getConfigBuilder();
        builder.setSaveBehavior(DynamoDBMapperConfig.SaveBehavior.CLOBBER);
        dynamoDBMapper.save(r, builder.build());
    }
/**
     * This method saved a single object to dynamo db
     *
     * @param r object to be saved
     */
This method saved a single object to dynamo db
@param r object to be saved
This method saved a single object to dynamo db @param r object to be saved
public void put(@NonNull final R r) {
        initDBMapper();
        final DynamoDBMapperConfig.Builder builder = dbSupplier.getConfigBuilder();
        builder.setSaveBehavior(DynamoDBMapperConfig.SaveBehavior.CLOBBER);
        dynamoDBMapper.save(r, builder.build());
    }
public void put ( @ NonNull final R r ) { initDBMapper ( ) ; final DynamoDBMapperConfig . Builder builder = dbSupplier . getConfigBuilder ( ) ; builder . setSaveBehavior ( DynamoDBMapperConfig . SaveBehavior . CLOBBER ) ; dynamoDBMapper . save ( r , builder . build ( ) ) ; }
This method saved a single object to dynamo db
 @param r object to be saved
This method saved a single object to dynamo db @param r object to be saved