Your method is fine.
org.cloudbus.cloudsim.HarddriveStorage@578486a3
is just the string representation of the object.
Edit:
Because .get returns an Object, you have to cast the return value back to HarddriveStorage:
HarddriveStorage myHD = (HarddriveStorage)hdList.get(1);