class Convert {

    public static ServerInstanceKey toKey( final ServerInstance serverInstance ) {
        return new ServerInstanceKey( serverInstance.getServerTemplateId(),
                                      serverInstance.getServerName(),
                                      serverInstance.getServerInstanceId(),
                                      serverInstance.getUrl() );
    }

    private  Convert();

}