@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode()); hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode()); hashCode = prime * hashCode + ((getPlatformName() == null) ? 0 : getPlatformName().hashCode()); hashCode = prime * hashCode + ((getPlatformVersion() == null) ? 0 : getPlatformVersion().hashCode()); hashCode = prime * hashCode + ((getSolutionStackName() == null) ? 0 : getSolutionStackName().hashCode()); hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode()); hashCode = prime * hashCode + ((getDateCreated() == null) ? 0 : getDateCreated().hashCode()); hashCode = prime * hashCode + ((getDateUpdated() == null) ? 0 : getDateUpdated().hashCode()); hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getMaintainer() == null) ? 0 : getMaintainer().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode()); hashCode = prime * hashCode + ((getProgrammingLanguages() == null) ? 0 : getProgrammingLanguages().hashCode()); hashCode = prime * hashCode + ((getFrameworks() == null) ? 0 : getFrameworks().hashCode()); hashCode = prime * hashCode + ((getCustomAmiList() == null) ? 0 : getCustomAmiList().hashCode()); hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode()); hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode()); return hashCode; }
public PlatformDescription unmarshall(StaxUnmarshallerContext context) throws Exception { PlatformDescription platformDescription = new PlatformDescription(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; platformDescription.setPlatformArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformOwner(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformVersion(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setSolutionStackName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setDateCreated(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; platformDescription.setDateUpdated(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; platformDescription.setPlatformCategory(StringStaxUnmarshaller.getInstance().unmarshall(context));
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribePlatformVersionResult == false) return false; DescribePlatformVersionResult other = (DescribePlatformVersionResult) obj; if (other.getPlatformDescription() == null ^ this.getPlatformDescription() == null) return false; if (other.getPlatformDescription() != null && other.getPlatformDescription().equals(this.getPlatformDescription()) == false) return false; return true; }
public PlatformDescription unmarshall(StaxUnmarshallerContext context) throws Exception { PlatformDescription platformDescription = new PlatformDescription(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; platformDescription.setPlatformArn(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformOwner(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformVersion(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setSolutionStackName(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setPlatformStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; platformDescription.setDateCreated(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; platformDescription.setDateUpdated(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; platformDescription.setPlatformCategory(StringStaxUnmarshaller.getInstance().unmarshall(context));
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof DescribePlatformVersionResult == false) return false; DescribePlatformVersionResult other = (DescribePlatformVersionResult) obj; if (other.getPlatformDescription() == null ^ this.getPlatformDescription() == null) return false; if (other.getPlatformDescription() != null && other.getPlatformDescription().equals(this.getPlatformDescription()) == false) return false; return true; }
return false; PlatformDescription other = (PlatformDescription) obj; if (other.getPlatformArn() == null ^ this.getPlatformArn() == null) return false; if (other.getPlatformArn() != null && other.getPlatformArn().equals(this.getPlatformArn()) == false) return false; if (other.getPlatformOwner() == null ^ this.getPlatformOwner() == null) return false; if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false) return false; if (other.getPlatformName() == null ^ this.getPlatformName() == null) return false; if (other.getPlatformName() != null && other.getPlatformName().equals(this.getPlatformName()) == false) return false; if (other.getPlatformVersion() == null ^ this.getPlatformVersion() == null) return false; if (other.getPlatformVersion() != null && other.getPlatformVersion().equals(this.getPlatformVersion()) == false) return false; if (other.getSolutionStackName() == null ^ this.getSolutionStackName() == null) return false; if (other.getSolutionStackName() != null && other.getSolutionStackName().equals(this.getSolutionStackName()) == false) return false; if (other.getPlatformStatus() == null ^ this.getPlatformStatus() == null) return false; if (other.getPlatformStatus() != null && other.getPlatformStatus().equals(this.getPlatformStatus()) == false) return false; if (other.getDateCreated() == null ^ this.getDateCreated() == null) return false; if (other.getDateCreated() != null && other.getDateCreated().equals(this.getDateCreated()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformArn() != null) sb.append("PlatformArn: ").append(getPlatformArn()).append(","); if (getPlatformOwner() != null) sb.append("PlatformOwner: ").append(getPlatformOwner()).append(","); if (getPlatformName() != null) sb.append("PlatformName: ").append(getPlatformName()).append(","); if (getPlatformVersion() != null) sb.append("PlatformVersion: ").append(getPlatformVersion()).append(","); if (getSolutionStackName() != null) sb.append("SolutionStackName: ").append(getSolutionStackName()).append(","); if (getPlatformStatus() != null) sb.append("PlatformStatus: ").append(getPlatformStatus()).append(","); if (getDateCreated() != null) sb.append("DateCreated: ").append(getDateCreated()).append(","); if (getDateUpdated() != null) sb.append("DateUpdated: ").append(getDateUpdated()).append(","); if (getPlatformCategory() != null) sb.append("PlatformCategory: ").append(getPlatformCategory()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getMaintainer() != null) sb.append("Maintainer: ").append(getMaintainer()).append(","); if (getOperatingSystemName() != null) sb.append("OperatingSystemName: ").append(getOperatingSystemName()).append(","); if (getOperatingSystemVersion() != null) sb.append("OperatingSystemVersion: ").append(getOperatingSystemVersion()).append(","); if (getProgrammingLanguages() != null)
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformArn() == null) ? 0 : getPlatformArn().hashCode()); hashCode = prime * hashCode + ((getPlatformOwner() == null) ? 0 : getPlatformOwner().hashCode()); hashCode = prime * hashCode + ((getPlatformName() == null) ? 0 : getPlatformName().hashCode()); hashCode = prime * hashCode + ((getPlatformVersion() == null) ? 0 : getPlatformVersion().hashCode()); hashCode = prime * hashCode + ((getSolutionStackName() == null) ? 0 : getSolutionStackName().hashCode()); hashCode = prime * hashCode + ((getPlatformStatus() == null) ? 0 : getPlatformStatus().hashCode()); hashCode = prime * hashCode + ((getDateCreated() == null) ? 0 : getDateCreated().hashCode()); hashCode = prime * hashCode + ((getDateUpdated() == null) ? 0 : getDateUpdated().hashCode()); hashCode = prime * hashCode + ((getPlatformCategory() == null) ? 0 : getPlatformCategory().hashCode()); hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode()); hashCode = prime * hashCode + ((getMaintainer() == null) ? 0 : getMaintainer().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemName() == null) ? 0 : getOperatingSystemName().hashCode()); hashCode = prime * hashCode + ((getOperatingSystemVersion() == null) ? 0 : getOperatingSystemVersion().hashCode()); hashCode = prime * hashCode + ((getProgrammingLanguages() == null) ? 0 : getProgrammingLanguages().hashCode()); hashCode = prime * hashCode + ((getFrameworks() == null) ? 0 : getFrameworks().hashCode()); hashCode = prime * hashCode + ((getCustomAmiList() == null) ? 0 : getCustomAmiList().hashCode()); hashCode = prime * hashCode + ((getSupportedTierList() == null) ? 0 : getSupportedTierList().hashCode()); hashCode = prime * hashCode + ((getSupportedAddonList() == null) ? 0 : getSupportedAddonList().hashCode()); return hashCode; }
return false; PlatformDescription other = (PlatformDescription) obj; if (other.getPlatformArn() == null ^ this.getPlatformArn() == null) return false; if (other.getPlatformArn() != null && other.getPlatformArn().equals(this.getPlatformArn()) == false) return false; if (other.getPlatformOwner() == null ^ this.getPlatformOwner() == null) return false; if (other.getPlatformOwner() != null && other.getPlatformOwner().equals(this.getPlatformOwner()) == false) return false; if (other.getPlatformName() == null ^ this.getPlatformName() == null) return false; if (other.getPlatformName() != null && other.getPlatformName().equals(this.getPlatformName()) == false) return false; if (other.getPlatformVersion() == null ^ this.getPlatformVersion() == null) return false; if (other.getPlatformVersion() != null && other.getPlatformVersion().equals(this.getPlatformVersion()) == false) return false; if (other.getSolutionStackName() == null ^ this.getSolutionStackName() == null) return false; if (other.getSolutionStackName() != null && other.getSolutionStackName().equals(this.getSolutionStackName()) == false) return false; if (other.getPlatformStatus() == null ^ this.getPlatformStatus() == null) return false; if (other.getPlatformStatus() != null && other.getPlatformStatus().equals(this.getPlatformStatus()) == false) return false; if (other.getDateCreated() == null ^ this.getDateCreated() == null) return false; if (other.getDateCreated() != null && other.getDateCreated().equals(this.getDateCreated()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformArn() != null) sb.append("PlatformArn: ").append(getPlatformArn()).append(","); if (getPlatformOwner() != null) sb.append("PlatformOwner: ").append(getPlatformOwner()).append(","); if (getPlatformName() != null) sb.append("PlatformName: ").append(getPlatformName()).append(","); if (getPlatformVersion() != null) sb.append("PlatformVersion: ").append(getPlatformVersion()).append(","); if (getSolutionStackName() != null) sb.append("SolutionStackName: ").append(getSolutionStackName()).append(","); if (getPlatformStatus() != null) sb.append("PlatformStatus: ").append(getPlatformStatus()).append(","); if (getDateCreated() != null) sb.append("DateCreated: ").append(getDateCreated()).append(","); if (getDateUpdated() != null) sb.append("DateUpdated: ").append(getDateUpdated()).append(","); if (getPlatformCategory() != null) sb.append("PlatformCategory: ").append(getPlatformCategory()).append(","); if (getDescription() != null) sb.append("Description: ").append(getDescription()).append(","); if (getMaintainer() != null) sb.append("Maintainer: ").append(getMaintainer()).append(","); if (getOperatingSystemName() != null) sb.append("OperatingSystemName: ").append(getOperatingSystemName()).append(","); if (getOperatingSystemVersion() != null) sb.append("OperatingSystemVersion: ").append(getOperatingSystemVersion()).append(","); if (getProgrammingLanguages() != null)