public Optional < PluginsAlertCondition > create ( long policyId , PluginsAlertCondition condition ) { return HTTP . POST ( String . format ( "/v2/alerts_plugins_conditions/policies/%d.json" , policyId ) , condition , PLUGINS_ALERT_CONDITION ) ; }
Creates the given Plugins alert condition .