public Optional < AlertPolicy > update ( AlertPolicy policy ) { return HTTP . PUT ( String . format ( "/v2/alerts_policies/%d.json" , policy . getId ( ) ) , policy , ALERT_POLICY ) ; }
Updates the given alert policy .