code: private String getProjectIdForProjectName(String projectName) throws SDKException {
      String projectId =
          this.getProjectAgent()
              .findAll()
              .stream()
              .filter(p -> p.getName().equals(projectName))
              .findFirst()
              .orElseThrow(
                  () ->
                      new SDKException(
                          "Did not find a Project named " + projectName,
                          null,
                          "Did not find a Project named " + projectName))
              .getId();
      this.projectAgent = null;
      return projectId;
    }
docs: Return the project id for a given project name.
  
  @param projectName the name of the project
  @return the project id for the given project name
  @throws SDKException in case of exception