code: public DetectorResponseInner getSiteDetectorResponse(String resourceGroupName, String siteName, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) {
          return getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName, startTime, endTime, timeGrain).toBlocking().single().body();
      }
docs: Get site detector response.
  Get site detector response.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param siteName Site Name
  @param detectorName Detector Resource Name
  @param startTime Start Time
  @param endTime End Time
  @param timeGrain Time Grain
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the DetectorResponseInner object if successful.