@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getEngineAttribute() == null) ? 0 : getEngineAttribute().hashCode()); hashCode = prime * hashCode + ((getServerName() == null) ? 0 : getServerName().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateServerEngineAttributesResult == false) return false; UpdateServerEngineAttributesResult other = (UpdateServerEngineAttributesResult) obj; if (other.getServer() == null ^ this.getServer() == null) return false; if (other.getServer() != null && other.getServer().equals(this.getServer()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof StartMaintenanceResult == false) return false; StartMaintenanceResult other = (StartMaintenanceResult) obj; if (other.getServer() == null ^ this.getServer() == null) return false; if (other.getServer() != null && other.getServer().equals(this.getServer()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof UpdateServerResult == false) return false; UpdateServerResult other = (UpdateServerResult) obj; if (other.getServer() == null ^ this.getServer() == null) return false; if (other.getServer() != null && other.getServer().equals(this.getServer()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateServerResult == false) return false; CreateServerResult other = (CreateServerResult) obj; if (other.getServer() == null ^ this.getServer() == null) return false; if (other.getServer() != null && other.getServer().equals(this.getServer()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof CreateBackupResult == false) return false; CreateBackupResult other = (CreateBackupResult) obj; if (other.getBackup() == null ^ this.getBackup() == null) return false; if (other.getBackup() != null && other.getBackup().equals(this.getBackup()) == false) return false; return true; }
/** * <p> * The status of a backup while in progress. * </p> * * @param status * The status of a backup while in progress. * @see BackupStatus */ public void setStatus(BackupStatus status) { withStatus(status); }
/** * <p> * The backup type. Valid values are <code>automated</code> or <code>manual</code>. * </p> * * @param backupType * The backup type. Valid values are <code>automated</code> or <code>manual</code>. * @see BackupType */ public void setBackupType(BackupType backupType) { withBackupType(backupType); }
/** * @param preferredBackupWindow * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateServerRequest withPreferredBackupWindow(String preferredBackupWindow) { setPreferredBackupWindow(preferredBackupWindow); return this; }
/** * @param preferredMaintenanceWindow * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateServerRequest withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { setPreferredMaintenanceWindow(preferredMaintenanceWindow); return this; }
/** * <p> * The status of the most recent server maintenance run. Shows <code>SUCCESS</code> or <code>FAILED</code>. * </p> * * @param maintenanceStatus * The status of the most recent server maintenance run. Shows <code>SUCCESS</code> or <code>FAILED</code>. * @see MaintenanceStatus */ public void setMaintenanceStatus(MaintenanceStatus maintenanceStatus) { withMaintenanceStatus(maintenanceStatus); }
/** * <p> * The ARN of the backup. * </p> * * @param backupArn * The ARN of the backup. * @return Returns a reference to this object so that method calls can be chained together. */ public Backup withBackupArn(String backupArn) { setBackupArn(backupArn); return this; }
/** * <p> * The time stamp when the backup was created in the database. Example: <code>2016-07-29T13:38:47.520Z</code> * </p> * * @param createdAt * The time stamp when the backup was created in the database. Example: <code>2016-07-29T13:38:47.520Z</code> * @return Returns a reference to this object so that method calls can be chained together. */ public Backup withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; }
/** * <p> * The engine version that is obtained from the server when the backup is created. * </p> * * @param engineVersion * The engine version that is obtained from the server when the backup is created. * @return Returns a reference to this object so that method calls can be chained together. */ public Backup withEngineVersion(String engineVersion) { setEngineVersion(engineVersion); return this; }
/** * <p> * The preferred maintenance period that is obtained from the server when the backup is created. * </p> * * @param preferredMaintenanceWindow * The preferred maintenance period that is obtained from the server when the backup is created. * @return Returns a reference to this object so that method calls can be chained together. */ public Backup withPreferredMaintenanceWindow(String preferredMaintenanceWindow) { setPreferredMaintenanceWindow(preferredMaintenanceWindow); return this; }