public ServiceFuture<DiagnosticDetectorResponseInner> executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, final ServiceCallback<DiagnosticDetectorResponseInner> serviceCallback) {
        return ServiceFuture.fromResponse(executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory), serviceCallback);
    }
public ServiceFuture < DiagnosticDetectorResponseInner > executeSiteDetectorAsync ( String resourceGroupName , String siteName , String detectorName , String diagnosticCategory , final ServiceCallback < DiagnosticDetectorResponseInner > serviceCallback ) { return ServiceFuture . fromResponse ( executeSiteDetectorWithServiceResponseAsync ( resourceGroupName , siteName , detectorName , diagnosticCategory ) , serviceCallback ) ; }
Execute Detector.
Execute Detector.

@param resourceGroupName Name of the resource group to which the resource belongs.
@param siteName Site Name
@param detectorName Detector Resource Name
@param diagnosticCategory Category Name
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object