public void setRoles(java.util.Collection<Role> roles) {
        if (roles == null) {
            this.roles = null;
            return;
        }

        this.roles = new java.util.ArrayList<Role>(roles);
    }
<p>
The list of roles for the assessment.
</p>

@param roles
       The list of roles for the assessment.
aws-java-sdk-auditmanager/src/main/java/com/amazonaws/services/auditmanager/model/UpdateAssessmentRequest.java