public ListSubjectsResult withSubjects(SubjectSummary... subjects) {
        if (this.subjects == null) {
            setSubjects(new java.util.ArrayList<SubjectSummary>(subjects.length));
        }
        for (SubjectSummary ele : subjects) {
            this.subjects.add(ele);
        }
        return this;
    }
<p>
A list of subjects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSubjects(java.util.Collection)} or {@link #withSubjects(java.util.Collection)} if you want to override
the existing values.
</p>

@param subjects
       A list of subjects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/ListSubjectsResult.java