code: public BuildInner queueBuild(String resourceGroupName, String registryName, QueueBuildRequest buildRequest) {
          return queueBuildWithServiceResponseAsync(resourceGroupName, registryName, buildRequest).toBlocking().last().body();
      }
docs: Creates a new build based on the request parameters and add it to the build queue.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @param buildRequest The parameters of a build that needs to queued.
  @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 BuildInner object if successful.