code: public Optional<Monitor> create(Monitor monitor)
      {
          Response obj = HTTP.POST("/v3/monitors", monitor).get();
          String location = obj.getStringHeaders().getFirst("location");
          if(location != null)
              monitor.setId(location.substring(location.lastIndexOf("/")+1));
          return Optional.of(monitor);
      }
docs: Creates the given monitor.
  @param monitor The monitor to create
  @return This object