code: public ServiceFuture<List<ResourceHealthMetadataInner>> listBySiteSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback<ResourceHealthMetadataInner> serviceCallback) {
          return AzureServiceFuture.fromPageResponse(
              listBySiteSlotSinglePageAsync(resourceGroupName, name, slot),
              new Func1<String, Observable<ServiceResponse<Page<ResourceHealthMetadataInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<ResourceHealthMetadataInner>>> call(String nextPageLink) {
                      return listBySiteSlotNextSinglePageAsync(nextPageLink);
                  }
              },
              serviceCallback);
      }
docs: Gets the category of ResourceHealthMetadata to use for the given site as a collection.
  Gets the category of ResourceHealthMetadata to use for the given site as a collection.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Name of web app.
  @param slot Name of web app slot. If not specified then will default to production slot.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object