public ListAssessmentRunAgentsResult withAssessmentRunAgents(AssessmentRunAgent... assessmentRunAgents) {
        if (this.assessmentRunAgents == null) {
            setAssessmentRunAgents(new java.util.ArrayList<AssessmentRunAgent>(assessmentRunAgents.length));
        }
        for (AssessmentRunAgent ele : assessmentRunAgents) {
            this.assessmentRunAgents.add(ele);
        }
        return this;
    }
<p>
A list of ARNs that specifies the agents returned by the action.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssessmentRunAgents(java.util.Collection)} or {@link #withAssessmentRunAgents(java.util.Collection)}
if you want to override the existing values.
</p>

@param assessmentRunAgents
       A list of ARNs that specifies the agents returned by the action.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/ListAssessmentRunAgentsResult.java