code: public PagedList<SyncDatabaseIdPropertiesInner> listSyncDatabaseIds(final String locationName) {
          ServiceResponse<Page<SyncDatabaseIdPropertiesInner>> response = listSyncDatabaseIdsSinglePageAsync(locationName).toBlocking().single();
          return new PagedList<SyncDatabaseIdPropertiesInner>(response.body()) {
              @Override
              public Page<SyncDatabaseIdPropertiesInner> nextPage(String nextPageLink) {
                  return listSyncDatabaseIdsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets a collection of sync database ids.
  
  @param locationName The name of the region where the resource is located.
  @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;SyncDatabaseIdPropertiesInner&gt; object if successful.