public void setSubjects(java.util.Collection<SubjectSummary> subjects) {
        if (subjects == null) {
            this.subjects = null;
            return;
        }

        this.subjects = new java.util.ArrayList<SubjectSummary>(subjects);
    }
<p>
A list of subjects.
</p>

@param subjects
       A list of subjects.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/ListSubjectsResult.java