code: public Optional<Board> getOptionalBoard(Object projectIdOrPath, Integer boardId) {
          try {
              return (Optional.ofNullable(getBoard(projectIdOrPath, boardId)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get an issue board as an Optional instance.
  
  <pre><code>GitLab Endpoint: GET /projects/:id/boards/:board_id</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param boardId the ID of the board
  @return the Board instance for the specified board ID as an Optional instance