if (getActualProperties() != null) sb.append("ActualProperties: ").append(getActualProperties()).append(","); if (getPropertyDifferences() != null) sb.append("PropertyDifferences: ").append(getPropertyDifferences()).append(","); if (getStackResourceDriftStatus() != null) sb.append("StackResourceDriftStatus: ").append(getStackResourceDriftStatus()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getLogicalResourceId() == null) ? 0 : getLogicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceId() == null) ? 0 : getPhysicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceIdContext() == null) ? 0 : getPhysicalResourceIdContext().hashCode()); hashCode = prime * hashCode + ((getResourceType() == null) ? 0 : getResourceType().hashCode()); hashCode = prime * hashCode + ((getExpectedProperties() == null) ? 0 : getExpectedProperties().hashCode()); hashCode = prime * hashCode + ((getActualProperties() == null) ? 0 : getActualProperties().hashCode()); hashCode = prime * hashCode + ((getPropertyDifferences() == null) ? 0 : getPropertyDifferences().hashCode()); hashCode = prime * hashCode + ((getStackResourceDriftStatus() == null) ? 0 : getStackResourceDriftStatus().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); return hashCode; }
if (other.getActualProperties() != null && other.getActualProperties().equals(this.getActualProperties()) == false) return false; if (other.getPropertyDifferences() == null ^ this.getPropertyDifferences() == null) return false; if (other.getPropertyDifferences() != null && other.getPropertyDifferences().equals(this.getPropertyDifferences()) == false) return false; if (other.getStackResourceDriftStatus() == null ^ this.getStackResourceDriftStatus() == null)
if (getActualProperties() != null) sb.append("ActualProperties: ").append(getActualProperties()).append(","); if (getPropertyDifferences() != null) sb.append("PropertyDifferences: ").append(getPropertyDifferences()).append(","); if (getStackResourceDriftStatus() != null) sb.append("StackResourceDriftStatus: ").append(getStackResourceDriftStatus()).append(",");
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getStackId() == null) ? 0 : getStackId().hashCode()); hashCode = prime * hashCode + ((getLogicalResourceId() == null) ? 0 : getLogicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceId() == null) ? 0 : getPhysicalResourceId().hashCode()); hashCode = prime * hashCode + ((getPhysicalResourceIdContext() == null) ? 0 : getPhysicalResourceIdContext().hashCode()); hashCode = prime * hashCode + ((getResourceType() == null) ? 0 : getResourceType().hashCode()); hashCode = prime * hashCode + ((getExpectedProperties() == null) ? 0 : getExpectedProperties().hashCode()); hashCode = prime * hashCode + ((getActualProperties() == null) ? 0 : getActualProperties().hashCode()); hashCode = prime * hashCode + ((getPropertyDifferences() == null) ? 0 : getPropertyDifferences().hashCode()); hashCode = prime * hashCode + ((getStackResourceDriftStatus() == null) ? 0 : getStackResourceDriftStatus().hashCode()); hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); return hashCode; }
if (other.getActualProperties() != null && other.getActualProperties().equals(this.getActualProperties()) == false) return false; if (other.getPropertyDifferences() == null ^ this.getPropertyDifferences() == null) return false; if (other.getPropertyDifferences() != null && other.getPropertyDifferences().equals(this.getPropertyDifferences()) == false) return false; if (other.getStackResourceDriftStatus() == null ^ this.getStackResourceDriftStatus() == null)