code: public Observable<ServiceResponse<Page<RecordSetInner>>> listByTypeWithServiceResponseAsync(final String resourceGroupName, final String privateZoneName, final RecordType recordType) {
          return listByTypeSinglePageAsync(resourceGroupName, privateZoneName, recordType)
              .concatMap(new Func1<ServiceResponse<Page<RecordSetInner>>, Observable<ServiceResponse<Page<RecordSetInner>>>>() {
                  @Override
                  public Observable<ServiceResponse<Page<RecordSetInner>>> call(ServiceResponse<Page<RecordSetInner>> page) {
                      String nextPageLink = page.body().nextPageLink();
                      if (nextPageLink == null) {
                          return Observable.just(page);
                      }
                      return Observable.just(page).concatWith(listByTypeNextWithServiceResponseAsync(nextPageLink));
                  }
              });
      }
docs: Lists the record sets of a specified type in a Private DNS zone.
  
  @param resourceGroupName The name of the resource group.
  @param privateZoneName The name of the Private DNS zone (without a terminating dot).
  @param recordType The type of record sets to enumerate. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV', 'TXT'
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;RecordSetInner&gt; object