@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTableRestoreRequestId() == null) ? 0 : getTableRestoreRequestId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); hashCode = prime * hashCode + ((getRequestTime() == null) ? 0 : getRequestTime().hashCode()); hashCode = prime * hashCode + ((getProgressInMegaBytes() == null) ? 0 : getProgressInMegaBytes().hashCode()); hashCode = prime * hashCode + ((getTotalDataInMegaBytes() == null) ? 0 : getTotalDataInMegaBytes().hashCode()); hashCode = prime * hashCode + ((getClusterIdentifier() == null) ? 0 : getClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getSnapshotIdentifier() == null) ? 0 : getSnapshotIdentifier().hashCode()); hashCode = prime * hashCode + ((getSourceDatabaseName() == null) ? 0 : getSourceDatabaseName().hashCode()); hashCode = prime * hashCode + ((getSourceSchemaName() == null) ? 0 : getSourceSchemaName().hashCode()); hashCode = prime * hashCode + ((getSourceTableName() == null) ? 0 : getSourceTableName().hashCode()); hashCode = prime * hashCode + ((getTargetDatabaseName() == null) ? 0 : getTargetDatabaseName().hashCode()); hashCode = prime * hashCode + ((getTargetSchemaName() == null) ? 0 : getTargetSchemaName().hashCode()); hashCode = prime * hashCode + ((getNewTableName() == null) ? 0 : getNewTableName().hashCode()); return hashCode; }
public TableRestoreStatus unmarshall(StaxUnmarshallerContext context) throws Exception { TableRestoreStatus tableRestoreStatus = new TableRestoreStatus(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; tableRestoreStatus.setTableRestoreRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setMessage(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setRequestTime(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; tableRestoreStatus.setProgressInMegaBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setTotalDataInMegaBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setClusterIdentifier(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setSnapshotIdentifier(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setSourceDatabaseName(StringStaxUnmarshaller.getInstance().unmarshall(context));
public TableRestoreStatus unmarshall(StaxUnmarshallerContext context) throws Exception { TableRestoreStatus tableRestoreStatus = new TableRestoreStatus(); int originalDepth = context.getCurrentDepth(); int targetDepth = originalDepth + 1; tableRestoreStatus.setTableRestoreRequestId(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setStatus(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setMessage(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setRequestTime(DateStaxUnmarshallerFactory.getInstance("iso8601").unmarshall(context)); continue; tableRestoreStatus.setProgressInMegaBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setTotalDataInMegaBytes(LongStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setClusterIdentifier(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setSnapshotIdentifier(StringStaxUnmarshaller.getInstance().unmarshall(context)); continue; tableRestoreStatus.setSourceDatabaseName(StringStaxUnmarshaller.getInstance().unmarshall(context));
return false; TableRestoreStatus other = (TableRestoreStatus) obj; if (other.getTableRestoreRequestId() == null ^ this.getTableRestoreRequestId() == null) return false; if (other.getTableRestoreRequestId() != null && other.getTableRestoreRequestId().equals(this.getTableRestoreRequestId()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; if (other.getRequestTime() == null ^ this.getRequestTime() == null) return false; if (other.getRequestTime() != null && other.getRequestTime().equals(this.getRequestTime()) == false) return false; if (other.getProgressInMegaBytes() == null ^ this.getProgressInMegaBytes() == null) return false; if (other.getProgressInMegaBytes() != null && other.getProgressInMegaBytes().equals(this.getProgressInMegaBytes()) == false) return false; if (other.getTotalDataInMegaBytes() == null ^ this.getTotalDataInMegaBytes() == null) return false; if (other.getTotalDataInMegaBytes() != null && other.getTotalDataInMegaBytes().equals(this.getTotalDataInMegaBytes()) == false) return false; if (other.getClusterIdentifier() == null ^ this.getClusterIdentifier() == null) return false; if (other.getClusterIdentifier() != null && other.getClusterIdentifier().equals(this.getClusterIdentifier()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getTableRestoreRequestId() != null) sb.append("TableRestoreRequestId: ").append(getTableRestoreRequestId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()).append(","); if (getRequestTime() != null) sb.append("RequestTime: ").append(getRequestTime()).append(","); if (getProgressInMegaBytes() != null) sb.append("ProgressInMegaBytes: ").append(getProgressInMegaBytes()).append(","); if (getTotalDataInMegaBytes() != null) sb.append("TotalDataInMegaBytes: ").append(getTotalDataInMegaBytes()).append(","); if (getClusterIdentifier() != null) sb.append("ClusterIdentifier: ").append(getClusterIdentifier()).append(","); if (getSnapshotIdentifier() != null) sb.append("SnapshotIdentifier: ").append(getSnapshotIdentifier()).append(","); if (getSourceDatabaseName() != null) sb.append("SourceDatabaseName: ").append(getSourceDatabaseName()).append(","); if (getSourceSchemaName() != null) sb.append("SourceSchemaName: ").append(getSourceSchemaName()).append(","); if (getSourceTableName() != null) sb.append("SourceTableName: ").append(getSourceTableName()).append(","); if (getTargetDatabaseName() != null) sb.append("TargetDatabaseName: ").append(getTargetDatabaseName()).append(","); if (getTargetSchemaName() != null) sb.append("TargetSchemaName: ").append(getTargetSchemaName()).append(","); if (getNewTableName() != null)
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTableRestoreRequestId() == null) ? 0 : getTableRestoreRequestId().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getMessage() == null) ? 0 : getMessage().hashCode()); hashCode = prime * hashCode + ((getRequestTime() == null) ? 0 : getRequestTime().hashCode()); hashCode = prime * hashCode + ((getProgressInMegaBytes() == null) ? 0 : getProgressInMegaBytes().hashCode()); hashCode = prime * hashCode + ((getTotalDataInMegaBytes() == null) ? 0 : getTotalDataInMegaBytes().hashCode()); hashCode = prime * hashCode + ((getClusterIdentifier() == null) ? 0 : getClusterIdentifier().hashCode()); hashCode = prime * hashCode + ((getSnapshotIdentifier() == null) ? 0 : getSnapshotIdentifier().hashCode()); hashCode = prime * hashCode + ((getSourceDatabaseName() == null) ? 0 : getSourceDatabaseName().hashCode()); hashCode = prime * hashCode + ((getSourceSchemaName() == null) ? 0 : getSourceSchemaName().hashCode()); hashCode = prime * hashCode + ((getSourceTableName() == null) ? 0 : getSourceTableName().hashCode()); hashCode = prime * hashCode + ((getTargetDatabaseName() == null) ? 0 : getTargetDatabaseName().hashCode()); hashCode = prime * hashCode + ((getTargetSchemaName() == null) ? 0 : getTargetSchemaName().hashCode()); hashCode = prime * hashCode + ((getNewTableName() == null) ? 0 : getNewTableName().hashCode()); return hashCode; }
return false; TableRestoreStatus other = (TableRestoreStatus) obj; if (other.getTableRestoreRequestId() == null ^ this.getTableRestoreRequestId() == null) return false; if (other.getTableRestoreRequestId() != null && other.getTableRestoreRequestId().equals(this.getTableRestoreRequestId()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getMessage() == null ^ this.getMessage() == null) return false; if (other.getMessage() != null && other.getMessage().equals(this.getMessage()) == false) return false; if (other.getRequestTime() == null ^ this.getRequestTime() == null) return false; if (other.getRequestTime() != null && other.getRequestTime().equals(this.getRequestTime()) == false) return false; if (other.getProgressInMegaBytes() == null ^ this.getProgressInMegaBytes() == null) return false; if (other.getProgressInMegaBytes() != null && other.getProgressInMegaBytes().equals(this.getProgressInMegaBytes()) == false) return false; if (other.getTotalDataInMegaBytes() == null ^ this.getTotalDataInMegaBytes() == null) return false; if (other.getTotalDataInMegaBytes() != null && other.getTotalDataInMegaBytes().equals(this.getTotalDataInMegaBytes()) == false) return false; if (other.getClusterIdentifier() == null ^ this.getClusterIdentifier() == null) return false; if (other.getClusterIdentifier() != null && other.getClusterIdentifier().equals(this.getClusterIdentifier()) == false)
StringBuilder sb = new StringBuilder(); sb.append("{"); if (getTableRestoreRequestId() != null) sb.append("TableRestoreRequestId: ").append(getTableRestoreRequestId()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getMessage() != null) sb.append("Message: ").append(getMessage()).append(","); if (getRequestTime() != null) sb.append("RequestTime: ").append(getRequestTime()).append(","); if (getProgressInMegaBytes() != null) sb.append("ProgressInMegaBytes: ").append(getProgressInMegaBytes()).append(","); if (getTotalDataInMegaBytes() != null) sb.append("TotalDataInMegaBytes: ").append(getTotalDataInMegaBytes()).append(","); if (getClusterIdentifier() != null) sb.append("ClusterIdentifier: ").append(getClusterIdentifier()).append(","); if (getSnapshotIdentifier() != null) sb.append("SnapshotIdentifier: ").append(getSnapshotIdentifier()).append(","); if (getSourceDatabaseName() != null) sb.append("SourceDatabaseName: ").append(getSourceDatabaseName()).append(","); if (getSourceSchemaName() != null) sb.append("SourceSchemaName: ").append(getSourceSchemaName()).append(","); if (getSourceTableName() != null) sb.append("SourceTableName: ").append(getSourceTableName()).append(","); if (getTargetDatabaseName() != null) sb.append("TargetDatabaseName: ").append(getTargetDatabaseName()).append(","); if (getTargetSchemaName() != null) sb.append("TargetSchemaName: ").append(getTargetSchemaName()).append(","); if (getNewTableName() != null)