public ListSubjectsResult withSubjects(java.util.Collection<SubjectSummary> subjects) {
        setSubjects(subjects);
        return this;
    }
<p>
A list of subjects.
</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