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

        if (obj instanceof EndpointDescription == false)
            return false;
        EndpointDescription other = (EndpointDescription) obj;
        if (other.getEndpointId() == null ^ this.getEndpointId() == null)
            return false;
        if (other.getEndpointId() != null && other.getEndpointId().equals(this.getEndpointId()) == false)
            return false;
        if (other.getWeight() == null ^ this.getWeight() == null)
            return false;
        if (other.getWeight() != null && other.getWeight().equals(this.getWeight()) == false)
            return false;
        if (other.getHealthState() == null ^ this.getHealthState() == null)
            return false;
        if (other.getHealthState() != null && other.getHealthState().equals(this.getHealthState()) == false)
            return false;
        if (other.getHealthReason() == null ^ this.getHealthReason() == null)
            return false;
        if (other.getHealthReason() != null && other.getHealthReason().equals(this.getHealthReason()) == false)
            return false;
        if (other.getClientIPPreservationEnabled() == null ^ this.getClientIPPreservationEnabled() == null)
            return false;
        if (other.getClientIPPreservationEnabled() != null && other.getClientIPPreservationEnabled().equals(this.getClientIPPreservationEnabled()) == 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-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/EndpointDescription.java