code: public DetectorResponseInner getHostingEnvironmentDetectorResponse(String resourceGroupName, String name, String detectorName) {
          return getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName).toBlocking().single().body();
      }
docs: Get Hosting Environment Detector Response.
  Get Hosting Environment Detector Response.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name App Service Environment Name
  @param detectorName Detector Resource Name
  @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.