code: public Observable<ServiceResponse<Page<ApplicationInner>>> listByClusterWithServiceResponseAsync(final String resourceGroupName, final String clusterName) {
          return listByClusterSinglePageAsync(resourceGroupName, clusterName)
              .concatMap(new Func1<ServiceResponse<Page<ApplicationInner>>, Observable<ServiceResponse<Page<ApplicationInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<ApplicationInner>>> call(ServiceResponse<Page<ApplicationInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listByClusterNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
docs: Lists all of the applications for the HDInsight cluster.
  
  @param resourceGroupName The name of the resource group.
  @param clusterName The name of the cluster.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;ApplicationInner&gt; object