code: public ServiceFuture<CertificateInner> updateAsync(String resourceGroupName, String automationAccountName, String certificateName, CertificateUpdateParameters parameters, final ServiceCallback<CertificateInner> serviceCallback) {
          return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, automationAccountName, certificateName, parameters), serviceCallback);
      }
docs: Update a certificate.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param certificateName The parameters supplied to the update certificate operation.
  @param parameters The parameters supplied to the update certificate operation.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object