public BackupSelection withResources(java.util.Collection<String> resources) {
        setResources(resources);
        return this;
    }
<p>
A list of Amazon Resource Names (ARNs) to assign to a backup plan. The maximum number of ARNs is 500 without
wildcards, or 30 ARNs with wildcards.
</p>
<p>
If you need to assign many resources to a backup plan, consider a different resource selection strategy, such as
assigning all resources of a resource type or refining your resource selection using tags.
</p>

@param resources
       A list of Amazon Resource Names (ARNs) to assign to a backup plan. The maximum number of ARNs is 500
       without wildcards, or 30 ARNs with wildcards.</p>
       <p>
       If you need to assign many resources to a backup plan, consider a different resource selection strategy,
       such as assigning all resources of a resource type 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