code: public WebhookInner update(String resourceGroupName, String automationAccountName, String webhookName, WebhookUpdateParameters parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, automationAccountName, webhookName, parameters).toBlocking().single().body();
      }
docs: Update the webhook identified by webhook name.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param webhookName The webhook name.
  @param parameters The update parameters for webhook.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the WebhookInner object if successful.