code: public PagedList<RoleDefinitionInner> list(final String scope) {
          ServiceResponse<Page<RoleDefinitionInner>> response = listSinglePageAsync(scope).toBlocking().single();
          return new PagedList<RoleDefinitionInner>(response.body()) {
              @Override
              public Page<RoleDefinitionInner> nextPage(String nextPageLink) {
                  return listNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Get all role definitions that are applicable at scope and above.
  
  @param scope The scope of the role definition.
  @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;RoleDefinitionInner&gt; object if successful.