@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof JobScheduleFrequency == false)
            return false;
        JobScheduleFrequency other = (JobScheduleFrequency) obj;
        if (other.getDailySchedule() == null ^ this.getDailySchedule() == null)
            return false;
        if (other.getDailySchedule() != null && other.getDailySchedule().equals(this.getDailySchedule()) == false)
            return false;
        if (other.getMonthlySchedule() == null ^ this.getMonthlySchedule() == null)
            return false;
        if (other.getMonthlySchedule() != null && other.getMonthlySchedule().equals(this.getMonthlySchedule()) == false)
            return false;
        if (other.getWeeklySchedule() == null ^ this.getWeeklySchedule() == null)
            return false;
        if (other.getWeeklySchedule() != null && other.getWeeklySchedule().equals(this.getWeeklySchedule()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/JobScheduleFrequency.java