code: public Optional<AlertPolicy> update(AlertPolicy policy)
      {
          return HTTP.PUT(String.format("/v2/alerts_policies/%d.json", policy.getId()), policy, ALERT_POLICY);
      }
docs: Updates the given alert policy.
  @param policy The alert policy to update
  @return The alert policy that was updated