code: public Observable<ServiceResponse<Page<ResourceHealthMetadataInner>>> listBySiteSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) {
          return listBySiteSlotSinglePageAsync(resourceGroupName, name, slot)
              .concatMap(new Func1<ServiceResponse<Page<ResourceHealthMetadataInner>>, Observable<ServiceResponse<Page<ResourceHealthMetadataInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<ResourceHealthMetadataInner>>> call(ServiceResponse<Page<ResourceHealthMetadataInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listBySiteSlotNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
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.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;ResourceHealthMetadataInner&gt; object