public PutBackupVaultNotificationsRequest withBackupVaultEvents(java.util.Collection<String> backupVaultEvents) {
        setBackupVaultEvents(backupVaultEvents);
        return this;
    }
<p>
An array of events that indicate the status of jobs to back up resources to the backup vault.
</p>
<p>
For common use cases and code samples, see <a
href="https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html">Using Amazon SNS to track
Backup events</a>.
</p>
<p>
The following events are supported:
</p>
<ul>
<li>
<p>
<code>BACKUP_JOB_STARTED</code> | <code>BACKUP_JOB_COMPLETED</code>
</p>
</li>
<li>
<p>
<code>COPY_JOB_STARTED</code> | <code>COPY_JOB_SUCCESSFUL</code> | <code>COPY_JOB_FAILED</code>
</p>
</li>
<li>
<p>
<code>RESTORE_JOB_STARTED</code> | <code>RESTORE_JOB_COMPLETED</code> | <code>RECOVERY_POINT_MODIFIED</code>
</p>
</li>
<li>
<p>
<code>S3_BACKUP_OBJECT_FAILED</code> | <code>S3_RESTORE_OBJECT_FAILED</code>
</p>
</li>
</ul>
<note>
<p>
The list below shows items that are deprecated events (for reference) and are no longer in use. They are no
longer supported and will not return statuses or notifications. Refer to the list above for current supported
events.
</p>
</note>

@param backupVaultEvents
       An array of events that indicate the status of jobs to back up resources to the backup vault.</p>
       <p>
       For common use cases and code samples, see <a
       href="https://docs.aws.amazon.com/aws-backup/latest/devguide/sns-notifications.html">Using Amazon SNS to
       track Backup events</a>.
       </p>
       <p>
       The following events are supported:
       </p>
       <ul>
       <li>
       <p>
       <code>BACKUP_JOB_STARTED</code> | <code>BACKUP_JOB_COMPLETED</code>
       </p>
       </li>
       <li>
       <p>
       <code>COPY_JOB_STARTED</code> | <code>COPY_JOB_SUCCESSFUL</code> | <code>COPY_JOB_FAILED</code>
       </p>
       </li>
       <li>
       <p>
       <code>RESTORE_JOB_STARTED</code> | <code>RESTORE_JOB_COMPLETED</code> |
       <code>RECOVERY_POINT_MODIFIED</code>
       </p>
       </li>
       <li>
       <p>
       <code>S3_BACKUP_OBJECT_FAILED</code> | <code>S3_RESTORE_OBJECT_FAILED</code>
       </p>
       </li>
       </ul>
       <note>
       <p>
       The list below shows items that are deprecated events (for reference) and are no longer in use. They are
       no longer supported and will not return statuses or notifications. Refer to the list above for current
       supported events.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
@see BackupVaultEvent
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/PutBackupVaultNotificationsRequest.java