public OperationFuture < AlertPolicy > modify ( AlertPolicy policyRef , AlertPolicyConfig modifyConfig ) { AlertPolicyMetadata policyToUpdate = findByRef ( policyRef ) ; client . modifyAlertPolicy ( policyToUpdate . getId ( ) , converter . buildModifyAlertPolicyRequest ( modifyConfig , policyToUpdate ) ) ; return new OperationFuture <> ( policyRef , new NoWaitingJobFuture ( ) ) ; }
Update Alert policy