public ServiceFuture<BuildInner> beginQueueBuildAsync(String resourceGroupName, String registryName, QueueBuildRequest buildRequest, final ServiceCallback<BuildInner> serviceCallback) {
        return ServiceFuture.fromResponse(beginQueueBuildWithServiceResponseAsync(resourceGroupName, registryName, buildRequest), serviceCallback);
    }
public ServiceFuture < BuildInner > beginQueueBuildAsync ( String resourceGroupName , String registryName , QueueBuildRequest buildRequest , final ServiceCallback < BuildInner > serviceCallback ) { return ServiceFuture . fromResponse ( beginQueueBuildWithServiceResponseAsync ( resourceGroupName , registryName , buildRequest ) , serviceCallback ) ; }
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.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object