@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribeVirtualInterfacesResult == false) return false; DescribeVirtualInterfacesResult other = (DescribeVirtualInterfacesResult) obj; if (other.getVirtualInterfaces() == null ^ this.getVirtualInterfaces() == null) return false; if (other.getVirtualInterfaces() != null && other.getVirtualInterfaces().equals(this.getVirtualInterfaces()) == false) return false; return true; }