public CreateExperimentTemplateTargetInput withResourceArns(String... resourceArns) {
        if (this.resourceArns == null) {
            setResourceArns(new java.util.ArrayList<String>(resourceArns.length));
        }
        for (String ele : resourceArns) {
            this.resourceArns.add(ele);
        }
        return this;
    }
<p>
The Amazon Resource Names (ARNs) of the resources.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResourceArns(java.util.Collection)} or {@link #withResourceArns(java.util.Collection)} if you want to
override the existing values.
</p>

@param resourceArns
       The Amazon Resource Names (ARNs) of the resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fis/src/main/java/com/amazonaws/services/fis/model/CreateExperimentTemplateTargetInput.java