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

        this.roles = new com.amazonaws.internal.SdkInternalList<Role>(roles);
    }
<p>
A list of roles.
</p>

@param roles
       A list of roles.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ListRolesResult.java