code: public GetBackupVaultNotificationsResult withBackupVaultEvents(String... backupVaultEvents) {
          if (this.backupVaultEvents == null) {
              setBackupVaultEvents(new java.util.ArrayList<String>(backupVaultEvents.length));
          }
          for (String ele : backupVaultEvents) {
              this.backupVaultEvents.add(ele);
          }
          return this;
      }
docs: <p>
  An array of events that indicate the status of jobs to back up resources to the backup vault.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setBackupVaultEvents(java.util.Collection)} or {@link #withBackupVaultEvents(java.util.Collection)} if
  you want to override the existing values.
  </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