public PinLaterJob buildJob(){
  PinLaterJob job=new PinLaterJob(ByteBuffer.wrap(logData.getBytes()));
  job.setNumAttemptsAllowed(10);
  return job;
}

public PinLaterJob buildJob ( ) { PinLaterJob job = new PinLaterJob ( ByteBuffer . wrap ( logData . getBytes ( ) ) ) ; job . setNumAttemptsAllowed ( 10 ) ; return job ; }
build a pinlaterjob object that can be used to build an enqueue request .
