public OperationFuture < AlertPolicy > create ( AlertPolicyConfig createConfig ) { AlertPolicyMetadata policy = client . createAlertPolicy ( converter . buildCreateAlertPolicyRequest ( createConfig ) ) ; return new OperationFuture <> ( AlertPolicy . refById ( policy . getId ( ) ) , new NoWaitingJobFuture ( ) ) ; }
Create Alert policy