if (getHostname() != null) sb.append("Hostname: ").append(getHostname()).append(","); if (getInfrastructureClass() != null) sb.append("InfrastructureClass: ").append(getInfrastructureClass()).append(","); if (getInstallUpdatesOnBoot() != null) sb.append("InstallUpdatesOnBoot: ").append(getInstallUpdatesOnBoot()).append(",");
hashCode = prime * hashCode + ((getElasticIp() == null) ? 0 : getElasticIp().hashCode()); hashCode = prime * hashCode + ((getHostname() == null) ? 0 : getHostname().hashCode()); hashCode = prime * hashCode + ((getInfrastructureClass() == null) ? 0 : getInfrastructureClass().hashCode()); hashCode = prime * hashCode + ((getInstallUpdatesOnBoot() == null) ? 0 : getInstallUpdatesOnBoot().hashCode()); hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
if (other.getHostname() != null && other.getHostname().equals(this.getHostname()) == false) return false; if (other.getInfrastructureClass() == null ^ this.getInfrastructureClass() == null) return false; if (other.getInfrastructureClass() != null && other.getInfrastructureClass().equals(this.getInfrastructureClass()) == false) return false; if (other.getInstallUpdatesOnBoot() == null ^ this.getInstallUpdatesOnBoot() == null)
protocolMarshaller.marshall(instance.getElasticIp(), ELASTICIP_BINDING); protocolMarshaller.marshall(instance.getHostname(), HOSTNAME_BINDING); protocolMarshaller.marshall(instance.getInfrastructureClass(), INFRASTRUCTURECLASS_BINDING); protocolMarshaller.marshall(instance.getInstallUpdatesOnBoot(), INSTALLUPDATESONBOOT_BINDING); protocolMarshaller.marshall(instance.getInstanceId(), INSTANCEID_BINDING);
if (getHostname() != null) sb.append("Hostname: ").append(getHostname()).append(","); if (getInfrastructureClass() != null) sb.append("InfrastructureClass: ").append(getInfrastructureClass()).append(","); if (getInstallUpdatesOnBoot() != null) sb.append("InstallUpdatesOnBoot: ").append(getInstallUpdatesOnBoot()).append(",");
hashCode = prime * hashCode + ((getElasticIp() == null) ? 0 : getElasticIp().hashCode()); hashCode = prime * hashCode + ((getHostname() == null) ? 0 : getHostname().hashCode()); hashCode = prime * hashCode + ((getInfrastructureClass() == null) ? 0 : getInfrastructureClass().hashCode()); hashCode = prime * hashCode + ((getInstallUpdatesOnBoot() == null) ? 0 : getInstallUpdatesOnBoot().hashCode()); hashCode = prime * hashCode + ((getInstanceId() == null) ? 0 : getInstanceId().hashCode());
if (other.getHostname() != null && other.getHostname().equals(this.getHostname()) == false) return false; if (other.getInfrastructureClass() == null ^ this.getInfrastructureClass() == null) return false; if (other.getInfrastructureClass() != null && other.getInfrastructureClass().equals(this.getInfrastructureClass()) == false) return false; if (other.getInstallUpdatesOnBoot() == null ^ this.getInstallUpdatesOnBoot() == null)
protocolMarshaller.marshall(instance.getElasticIp(), ELASTICIP_BINDING); protocolMarshaller.marshall(instance.getHostname(), HOSTNAME_BINDING); protocolMarshaller.marshall(instance.getInfrastructureClass(), INFRASTRUCTURECLASS_BINDING); protocolMarshaller.marshall(instance.getInstallUpdatesOnBoot(), INSTALLUPDATESONBOOT_BINDING); protocolMarshaller.marshall(instance.getInstanceId(), INSTANCEID_BINDING);