@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof TimeBasedAutoScalingConfiguration == false) return false; TimeBasedAutoScalingConfiguration other = (TimeBasedAutoScalingConfiguration) obj; if (other.getInstanceId() == null ^ this.getInstanceId() == null) return false; if (other.getInstanceId() != null && other.getInstanceId().equals(this.getInstanceId()) == false) return false; if (other.getAutoScalingSchedule() == null ^ this.getAutoScalingSchedule() == null) return false; if (other.getAutoScalingSchedule() != null && other.getAutoScalingSchedule().equals(this.getAutoScalingSchedule()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SetTimeBasedAutoScalingRequest == false) return false; SetTimeBasedAutoScalingRequest other = (SetTimeBasedAutoScalingRequest) obj; if (other.getInstanceId() == null ^ this.getInstanceId() == null) return false; if (other.getInstanceId() != null && other.getInstanceId().equals(this.getInstanceId()) == false) return false; if (other.getAutoScalingSchedule() == null ^ this.getAutoScalingSchedule() == null) return false; if (other.getAutoScalingSchedule() != null && other.getAutoScalingSchedule().equals(this.getAutoScalingSchedule()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof TimeBasedAutoScalingConfiguration == false) return false; TimeBasedAutoScalingConfiguration other = (TimeBasedAutoScalingConfiguration) obj; if (other.getInstanceId() == null ^ this.getInstanceId() == null) return false; if (other.getInstanceId() != null && other.getInstanceId().equals(this.getInstanceId()) == false) return false; if (other.getAutoScalingSchedule() == null ^ this.getAutoScalingSchedule() == null) return false; if (other.getAutoScalingSchedule() != null && other.getAutoScalingSchedule().equals(this.getAutoScalingSchedule()) == false) return false; return true; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof SetTimeBasedAutoScalingRequest == false) return false; SetTimeBasedAutoScalingRequest other = (SetTimeBasedAutoScalingRequest) obj; if (other.getInstanceId() == null ^ this.getInstanceId() == null) return false; if (other.getInstanceId() != null && other.getInstanceId().equals(this.getInstanceId()) == false) return false; if (other.getAutoScalingSchedule() == null ^ this.getAutoScalingSchedule() == null) return false; if (other.getAutoScalingSchedule() != null && other.getAutoScalingSchedule().equals(this.getAutoScalingSchedule()) == false) return false; return true; }