code: public ServiceFuture<List<AnalysisDefinitionInner>> listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final ListOperationCallback<AnalysisDefinitionInner> serviceCallback) {
          return AzureServiceFuture.fromPageResponse(
              listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory),
              new Func1<String, Observable<ServiceResponse<Page<AnalysisDefinitionInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<AnalysisDefinitionInner>>> call(String nextPageLink) {
                      return listSiteAnalysesNextSinglePageAsync(nextPageLink);
                  }
              },
              serviceCallback);
      }
docs: Get Site Analyses.
  Get Site Analyses.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param siteName Site Name
  @param diagnosticCategory Diagnostic Category
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object