code: public PagedList<RecordSetInner> listAllByDnsZone(final String resourceGroupName, final String zoneName, final Integer top, final String recordSetNameSuffix) {
          ServiceResponse<Page<RecordSetInner>> response = listAllByDnsZoneSinglePageAsync(resourceGroupName, zoneName, top, recordSetNameSuffix).toBlocking().single();
          return new PagedList<RecordSetInner>(response.body()) {
              @Override
              public Page<RecordSetInner> nextPage(String nextPageLink) {
                  return listAllByDnsZoneNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Lists all record sets in a DNS zone.
  
  @param resourceGroupName The name of the resource group.
  @param zoneName The name of the DNS zone (without a terminating dot).
  @param top The maximum number of record sets to return. If not specified, returns up to 100 record sets.
  @param recordSetNameSuffix The suffix label of the record set name that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only records that end with .&lt;recordSetNameSuffix&gt;
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;RecordSetInner&gt; object if successful.