in apis/cloudwatch/src/main/java/org/jclouds/cloudwatch/domain/Alarm.java [268:297]
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Alarm other = (Alarm) obj;
return equal(this.alarmActions, other.alarmActions) &&
equal(this.alarmARN, other.alarmARN) &&
equal(this.alarmConfigurationUpdatedTimestamp, other.alarmConfigurationUpdatedTimestamp) &&
equal(this.alarmDescription, other.alarmDescription) &&
equal(this.alarmName, other.alarmName) &&
equal(this.areActionsEnabled, other.areActionsEnabled) &&
equal(this.comparisonOperator, other.comparisonOperator) &&
equal(this.dimensions, other.dimensions) &&
equal(this.evaluationPeriods, other.evaluationPeriods) &&
equal(this.insufficientDataActions, other.insufficientDataActions) &&
equal(this.metricName, other.metricName) &&
equal(this.namespace, other.namespace) &&
equal(this.okActions, other.okActions) &&
equal(this.period, other.period) &&
equal(this.stateReason, other.stateReason) &&
equal(this.stateReasonData, other.stateReasonData) &&
equal(this.stateUpdatedTimestamp, other.stateUpdatedTimestamp) &&
equal(this.state, other.state) &&
equal(this.statistic, other.statistic) &&
equal(this.threshold, other.threshold) &&
equal(this.unit, other.unit);
}