code: public Observable<ServiceResponse<Page<ActivityInner>>> listByModuleWithServiceResponseAsync(final String resourceGroupName, final String automationAccountName, final String moduleName) {
          return listByModuleSinglePageAsync(resourceGroupName, automationAccountName, moduleName)
              .concatMap(new Func1<ServiceResponse<Page<ActivityInner>>, Observable<ServiceResponse<Page<ActivityInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<ActivityInner>>> call(ServiceResponse<Page<ActivityInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listByModuleNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
docs: Retrieve a list of activities in the module identified by module name.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param moduleName The name of module.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;ActivityInner&gt; object