@Override
public <R extends HttpRequest> R bindToRequest(final R request, final Object input) {
checkArgument(checkNotNull(input, "input") instanceof VirtualDatacenterDto,
"this binder is only valid for VirtualDatacenterDto objects");
VirtualDatacenterDto vdc = (VirtualDatacenterDto) input;
RESTLink editLink = checkNotNull(vdc.getEditLink(), "VirtualDatacenterDto must have an edit link");
LinksDto refs = new LinksDto();
refs.addLink(new RESTLink("virtualdatacenter", editLink.getHref()));
return super.bindToRequest(request, refs);
}