code: public GetBackupVaultNotificationsResult withBackupVaultEvents(BackupVaultEvent... backupVaultEvents) {
          java.util.ArrayList<String> backupVaultEventsCopy = new java.util.ArrayList<String>(backupVaultEvents.length);
          for (BackupVaultEvent value : backupVaultEvents) {
              backupVaultEventsCopy.add(value.toString());
          }
          if (getBackupVaultEvents() == null) {
              setBackupVaultEvents(backupVaultEventsCopy);
          } else {
              getBackupVaultEvents().addAll(backupVaultEventsCopy);
          }
          return this;
      }
docs: <p>
  An array of events that indicate the status of jobs to back up resources to the backup vault.
  </p>
  
  @param backupVaultEvents
  An array of events that indicate the status of jobs to back up resources to the backup vault.
  @return Returns a reference to this object so that method calls can be chained together.
  @see BackupVaultEvent