public RestoreTestingSelectionForUpdate withProtectedResourceArns(String... protectedResourceArns) {
        if (this.protectedResourceArns == null) {
            setProtectedResourceArns(new java.util.ArrayList<String>(protectedResourceArns.length));
        }
        for (String ele : protectedResourceArns) {
            this.protectedResourceArns.add(ele);
        }
        return this;
    }
<p>
You can include a list of specific ARNs, such as
<code>ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]</code> or you can include a wildcard:
<code>ProtectedResourceArns: ["*"]</code>, but not both.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProtectedResourceArns(java.util.Collection)} or
{@link #withProtectedResourceArns(java.util.Collection)} if you want to override the existing values.
</p>

@param protectedResourceArns
       You can include a list of specific ARNs, such as
       <code>ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]</code> or you can include a wildcard:
       <code>ProtectedResourceArns: ["*"]</code>, but not both.
@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/RestoreTestingSelectionForUpdate.java