code: public PagedList<DscConfigurationInner> listByAutomationAccount(final String resourceGroupName, final String automationAccountName, final String filter, final Integer skip, final Integer top, final String inlinecount) {
          ServiceResponse<Page<DscConfigurationInner>> response = listByAutomationAccountSinglePageAsync(resourceGroupName, automationAccountName, filter, skip, top, inlinecount).toBlocking().single();
          return new PagedList<DscConfigurationInner>(response.body()) {
              @Override
              public Page<DscConfigurationInner> nextPage(String nextPageLink) {
                  return listByAutomationAccountNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Retrieve a list of configurations.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param filter The filter to apply on the operation.
  @param skip The number of rows to skip.
  @param top The the number of rows to take.
  @param inlinecount Return total rows.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException 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;DscConfigurationInner&gt; object if successful.