code: public Observable<ServiceResponse<ImageRegionCreateSummary>> createImageRegionsWithServiceResponseAsync(UUID projectId, List<ImageRegionCreateEntry> regions) {
          if (projectId == null) {
              throw new IllegalArgumentException("Parameter projectId is required and cannot be null.");
          }
          if (this.client.apiKey() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiKey() is required and cannot be null.");
          }
          Validator.validate(regions);
          ImageRegionCreateBatch batch = new ImageRegionCreateBatch();
          batch.withRegions(regions);
          return service.createImageRegions(projectId, this.client.apiKey(), this.client.acceptLanguage(), batch, this.client.userAgent())
              .flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ImageRegionCreateSummary>>>() {
                  @Override
                  public Observable<ServiceResponse<ImageRegionCreateSummary>> call(Response<ResponseBody> response) {
                      try {
                          ServiceResponse<ImageRegionCreateSummary> clientResponse = createImageRegionsDelegate(response);
                          return Observable.just(clientResponse);
                      } catch (Throwable t) {
                          return Observable.error(t);
                      }
                  }
              });
      }
docs: Create a set of image regions.
  This API accepts a batch of image regions, and optionally tags, to update existing images with region information.
  There is a limit of 64 entries in the batch.
  
  @param projectId The project id
  @param regions the List&lt;ImageRegionCreateEntry&gt; value
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ImageRegionCreateSummary object