@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof GlobalSecondaryIndexUpdate == false) return false;
    GlobalSecondaryIndexUpdate other = (GlobalSecondaryIndexUpdate) obj;
    if (other.getUpdate() == null ^ this.getUpdate() == null) return false;
    if (other.getUpdate() != null && other.getUpdate().equals(this.getUpdate()) == false)
      return false;
    if (other.getCreate() == null ^ this.getCreate() == null) return false;
    if (other.getCreate() != null && other.getCreate().equals(this.getCreate()) == false)
      return false;
    if (other.getDelete() == null ^ this.getDelete() == null) return false;
    if (other.getDelete() != null && other.getDelete().equals(this.getDelete()) == false)
      return false;
    return true;
  }