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

        this.roles = new java.util.ArrayList<ImpersonationRole>(roles);
    }
<p>
The list of impersonation roles under the given WorkMail organization.
</p>

@param roles
       The list of impersonation roles under the given WorkMail organization.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/ListImpersonationRolesResult.java