code: public ScheduleInner update(String resourceGroupName, String automationAccountName, String scheduleName, ScheduleUpdateParameters parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, automationAccountName, scheduleName, parameters).toBlocking().single().body();
      }
docs: Update the schedule identified by schedule name.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param scheduleName The schedule name.
  @param parameters The parameters supplied to the update schedule operation.
  @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 ScheduleInner object if successful.