code: public Observable<ServiceResponse<BuildInner>> updateWithServiceResponseAsync(String resourceGroupName, String registryName, String buildId) {
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (registryName == null) {
              throw new IllegalArgumentException("Parameter registryName is required and cannot be null.");
          }
          if (buildId == null) {
              throw new IllegalArgumentException("Parameter buildId is required and cannot be null.");
          }
          final String apiVersion = "2018-02-01-preview";
          final Boolean isArchiveEnabled = null;
          BuildUpdateParameters buildUpdateParameters = new BuildUpdateParameters();
          buildUpdateParameters.withIsArchiveEnabled(null);
          Observable<Response<ResponseBody>> observable = service.update(this.client.subscriptionId(), resourceGroupName, registryName, buildId, apiVersion, this.client.acceptLanguage(), buildUpdateParameters, this.client.userAgent());
          return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<BuildInner>() { }.getType());
      }
docs: Patch the build properties.
  
  @param resourceGroupName The name of the resource group to which the container registry belongs.
  @param registryName The name of the container registry.
  @param buildId The build ID.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request