code: public Observable<ServiceResponse<ImageRegionCreateSummary>> createImageRegionsWithServiceResponseAsync(UUID projectId, CreateImageRegionsOptionalParameter createImageRegionsOptionalParameter) {
          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.");
          }
          final List<ImageRegionCreateEntry> regions = createImageRegionsOptionalParameter != null ? createImageRegionsOptionalParameter.regions() : null;
  
          return createImageRegionsWithServiceResponseAsync(projectId, regions);
      }
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 createImageRegionsOptionalParameter the object representing the optional parameters to be set before calling this API
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ImageRegionCreateSummary object