public StartAssessmentRequest withAssessmentTargets(AssessmentTarget... assessmentTargets) {
        if (this.assessmentTargets == null) {
            setAssessmentTargets(new java.util.ArrayList<AssessmentTarget>(assessmentTargets.length));
        }
        for (AssessmentTarget ele : assessmentTargets) {
            this.assessmentTargets.add(ele);
        }
        return this;
    }
<p>
List of criteria for assessment.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssessmentTargets(java.util.Collection)} or {@link #withAssessmentTargets(java.util.Collection)} if
you want to override the existing values.
</p>

@param assessmentTargets
       List of criteria for assessment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhubstrategyrecommendations/src/main/java/com/amazonaws/services/migrationhubstrategyrecommendations/model/StartAssessmentRequest.java