code: public Observable<ServiceResponse<JobAgentInner>> updateWithServiceResponseAsync(String resourceGroupName, String serverName, String jobAgentName) {
          if (resourceGroupName == null) {
              throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
          }
          if (serverName == null) {
              throw new IllegalArgumentException("Parameter serverName is required and cannot be null.");
          }
          if (jobAgentName == null) {
              throw new IllegalArgumentException("Parameter jobAgentName is required and cannot be null.");
          }
          if (this.client.subscriptionId() == null) {
              throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
          }
          if (this.client.apiVersion() == null) {
              throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
          }
          final Map<String, String> tags = null;
          JobAgentUpdate parameters = new JobAgentUpdate();
          parameters.withTags(null);
          Observable<Response<ResponseBody>> observable = service.update(resourceGroupName, serverName, jobAgentName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), parameters, this.client.userAgent());
          return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken<JobAgentInner>() { }.getType());
      }
docs: Updates a job agent.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param jobAgentName The name of the job agent to be updated.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable for the request