code: public CertificateInner update(String resourceGroupName, String automationAccountName, String certificateName, CertificateUpdateParameters parameters) {
          return updateWithServiceResponseAsync(resourceGroupName, automationAccountName, certificateName, parameters).toBlocking().single().body();
      }
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.
  @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 CertificateInner object if successful.