code: public Observable<Page<ResourceMetricDefinitionInner>> listWebWorkerMetricDefinitionsNextAsync(final String nextPageLink) {
          return listWebWorkerMetricDefinitionsNextWithServiceResponseAsync(nextPageLink)
              .map(new Func1<ServiceResponse<Page<ResourceMetricDefinitionInner>>, Page<ResourceMetricDefinitionInner>>() {
                  @Override
                  public Page<ResourceMetricDefinitionInner> call(ServiceResponse<Page<ResourceMetricDefinitionInner>> response) {
                      return response.body();
                  }
              });
      }
docs: Get metric definitions for a worker pool of an App Service Environment.
  Get metric definitions for a worker pool of an App Service Environment.
  
  @param nextPageLink The NextLink from the previous successful call to List operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;ResourceMetricDefinitionInner&gt; object