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

        this.roles = new java.util.ArrayList<String>(roles);
    }
<p>
The Role of a User or Group.
</p>

@param roles
       The Role of a User or Group.
@see PrincipalRoleType
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/SearchPrincipalType.java