public BackupSelection withNotResources(String... notResources) {
        if (this.notResources == null) {
            setNotResources(new java.util.ArrayList<String>(notResources.length));
        }
        for (String ele : notResources) {
            this.notResources.add(ele);
        }
        return this;
    }
<p>
A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number of ARNs is 500 without
wildcards, or 30 ARNs with wildcards.
</p>
<p>
If you need to exclude many resources from a backup plan, consider a different resource selection strategy, such
as assigning only one or a few resource types or refining your resource selection using tags.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNotResources(java.util.Collection)} or {@link #withNotResources(java.util.Collection)} if you want to
override the existing values.
</p>

@param notResources
       A list of Amazon Resource Names (ARNs) to exclude from a backup plan. The maximum number of ARNs is 500
       without wildcards, or 30 ARNs with wildcards.</p>
       <p>
       If you need to exclude many resources from a backup plan, consider a different resource selection
       strategy, such as assigning only one or a few resource types or refining your resource selection using
       tags.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/BackupSelection.java