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

        if (obj instanceof InstanceEventWindowTimeRangeRequest == false)
            return false;
        InstanceEventWindowTimeRangeRequest other = (InstanceEventWindowTimeRangeRequest) obj;
        if (other.getStartWeekDay() == null ^ this.getStartWeekDay() == null)
            return false;
        if (other.getStartWeekDay() != null && other.getStartWeekDay().equals(this.getStartWeekDay()) == false)
            return false;
        if (other.getStartHour() == null ^ this.getStartHour() == null)
            return false;
        if (other.getStartHour() != null && other.getStartHour().equals(this.getStartHour()) == false)
            return false;
        if (other.getEndWeekDay() == null ^ this.getEndWeekDay() == null)
            return false;
        if (other.getEndWeekDay() != null && other.getEndWeekDay().equals(this.getEndWeekDay()) == false)
            return false;
        if (other.getEndHour() == null ^ this.getEndHour() == null)
            return false;
        if (other.getEndHour() != null && other.getEndHour().equals(this.getEndHour()) == 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-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceEventWindowTimeRangeRequest.java