public UpdateAssessmentRequest withRoles(java.util.Collection<Role> roles) {
        setRoles(roles);
        return this;
    }
<p>
The list of roles for the assessment.
</p>

@param roles
       The list of roles for the assessment.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/UpdateAssessmentRequest.java