code: public ServiceFuture<HybridRunbookWorkerGroupInner> updateAsync(String resourceGroupName, String automationAccountName, String hybridRunbookWorkerGroupName, RunAsCredentialAssociationProperty credential, final ServiceCallback<HybridRunbookWorkerGroupInner> serviceCallback) {
          return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, automationAccountName, hybridRunbookWorkerGroupName, credential), serviceCallback);
      }
docs: Update a hybrid runbook worker group.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param hybridRunbookWorkerGroupName The hybrid runbook worker group name
  @param credential Sets the credential of a worker group.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object