public Optional < ExternalServiceAlertCondition > create ( long policyId , ExternalServiceAlertCondition condition ) { return HTTP . POST ( String . format ( "/v2/alerts_external_service_conditions/policies/%d.json" , policyId ) , condition , EXTERNAL_SERVICE_ALERT_CONDITION ) ; }
Creates the given external service alert condition .