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

        if (obj instanceof BandwidthRateLimitInterval == false)
            return false;
        BandwidthRateLimitInterval other = (BandwidthRateLimitInterval) obj;
        if (other.getAverageUploadRateLimitInBitsPerSec() == null ^ this.getAverageUploadRateLimitInBitsPerSec() == null)
            return false;
        if (other.getAverageUploadRateLimitInBitsPerSec() != null
                && other.getAverageUploadRateLimitInBitsPerSec().equals(this.getAverageUploadRateLimitInBitsPerSec()) == false)
            return false;
        if (other.getDaysOfWeek() == null ^ this.getDaysOfWeek() == null)
            return false;
        if (other.getDaysOfWeek() != null && other.getDaysOfWeek().equals(this.getDaysOfWeek()) == false)
            return false;
        if (other.getEndHourOfDay() == null ^ this.getEndHourOfDay() == null)
            return false;
        if (other.getEndHourOfDay() != null && other.getEndHourOfDay().equals(this.getEndHourOfDay()) == false)
            return false;
        if (other.getEndMinuteOfHour() == null ^ this.getEndMinuteOfHour() == null)
            return false;
        if (other.getEndMinuteOfHour() != null && other.getEndMinuteOfHour().equals(this.getEndMinuteOfHour()) == false)
            return false;
        if (other.getStartHourOfDay() == null ^ this.getStartHourOfDay() == null)
            return false;
        if (other.getStartHourOfDay() != null && other.getStartHourOfDay().equals(this.getStartHourOfDay()) == false)
            return false;
        if (other.getStartMinuteOfHour() == null ^ this.getStartMinuteOfHour() == null)
            return false;
        if (other.getStartMinuteOfHour() != null && other.getStartMinuteOfHour().equals(this.getStartMinuteOfHour()) == 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-backupgateway/src/main/java/com/amazonaws/services/backupgateway/model/BandwidthRateLimitInterval.java