StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAgentVersion() != null) sb.append("AgentVersion: ").append(getAgentVersion()).append(","); if (getAmiId() != null) sb.append("AmiId: ").append(getAmiId()).append(",");
int hashCode = 1; hashCode = prime * hashCode + ((getAgentVersion() == null) ? 0 : getAgentVersion().hashCode()); hashCode = prime * hashCode + ((getAmiId() == null) ? 0 : getAmiId().hashCode()); hashCode = prime * hashCode + ((getArchitecture() == null) ? 0 : getArchitecture().hashCode());
return false; Instance other = (Instance) obj; if (other.getAgentVersion() == null ^ this.getAgentVersion() == null) return false; if (other.getAgentVersion() != null && other.getAgentVersion().equals(this.getAgentVersion()) == false) return false; if (other.getAmiId() == null ^ this.getAmiId() == null)
protocolMarshaller.marshall(instance.getAgentVersion(), AGENTVERSION_BINDING); protocolMarshaller.marshall(instance.getAmiId(), AMIID_BINDING); protocolMarshaller.marshall(instance.getArchitecture(), ARCHITECTURE_BINDING);
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getAgentVersion() != null) sb.append("AgentVersion: ").append(getAgentVersion()).append(","); if (getAmiId() != null) sb.append("AmiId: ").append(getAmiId()).append(",");
int hashCode = 1; hashCode = prime * hashCode + ((getAgentVersion() == null) ? 0 : getAgentVersion().hashCode()); hashCode = prime * hashCode + ((getAmiId() == null) ? 0 : getAmiId().hashCode()); hashCode = prime * hashCode + ((getArchitecture() == null) ? 0 : getArchitecture().hashCode());
return false; Instance other = (Instance) obj; if (other.getAgentVersion() == null ^ this.getAgentVersion() == null) return false; if (other.getAgentVersion() != null && other.getAgentVersion().equals(this.getAgentVersion()) == false) return false; if (other.getAmiId() == null ^ this.getAmiId() == null)
protocolMarshaller.marshall(instance.getAgentVersion(), AGENTVERSION_BINDING); protocolMarshaller.marshall(instance.getAmiId(), AMIID_BINDING); protocolMarshaller.marshall(instance.getArchitecture(), ARCHITECTURE_BINDING);