in services/settings-service/src/main/java/com/amazon/aws/partners/saasfactory/saasboost/FsxFilesystem.java [81:102]
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
// Same reference?
if (this == obj) {
return true;
}
// Same type?
if (getClass() != obj.getClass()) {
return false;
}
final FsxFilesystem other = (FsxFilesystem) obj;
return (
((storageGb == null && other.storageGb == null) || (storageGb != null && storageGb.equals(other.storageGb)))
&& ((throughputMbs == null && other.throughputMbs == null) || (throughputMbs != null && throughputMbs.equals(other.throughputMbs)))
&& ((backupRetentionDays == null && other.backupRetentionDays == null) || (backupRetentionDays != null && backupRetentionDays.equals(other.backupRetentionDays)))
&& ((dailyBackupTime == null && other.dailyBackupTime == null) || (dailyBackupTime != null && dailyBackupTime.equals(other.dailyBackupTime)))
&& ((weeklyMaintenanceTime == null && other.weeklyMaintenanceTime == null) || (weeklyMaintenanceTime != null && weeklyMaintenanceTime.equals(other.weeklyMaintenanceTime)))
&& ((windowsMountDrive == null && other.windowsMountDrive == null) || (windowsMountDrive != null && windowsMountDrive.equals(other.windowsMountDrive)))
);
}