BoxFileRequest fileRequest = new BoxFileRequest(api, "id");
BoxFileRequest.Info fileRequestInfo = fileRequest.new Info();
fileRequestInfo.setDescription("Following documents are requested for your process");
fileRequestInfo.setIsDescriptionRequired(true);
fileRequestInfo.setStatus(BoxFileRequest.Status.ACTIVE);
fileRequestInfo = fileRequest.updateInfo(fileRequestInfo);
For more details on the different fields that can be updated when creating
a template, please see the reference documentation for the
POST /file-requests/:id/update API.
The ID of a file request can be determined by visiting the Box web
app and inspecting the URL. Please
check our guide on setting up a file
request template to learn how to determine a file request ID.