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

        if (obj instanceof HttpRetryPolicy == false)
            return false;
        HttpRetryPolicy other = (HttpRetryPolicy) obj;
        if (other.getHttpRetryEvents() == null ^ this.getHttpRetryEvents() == null)
            return false;
        if (other.getHttpRetryEvents() != null && other.getHttpRetryEvents().equals(this.getHttpRetryEvents()) == false)
            return false;
        if (other.getMaxRetries() == null ^ this.getMaxRetries() == null)
            return false;
        if (other.getMaxRetries() != null && other.getMaxRetries().equals(this.getMaxRetries()) == false)
            return false;
        if (other.getPerRetryTimeout() == null ^ this.getPerRetryTimeout() == null)
            return false;
        if (other.getPerRetryTimeout() != null && other.getPerRetryTimeout().equals(this.getPerRetryTimeout()) == false)
            return false;
        if (other.getTcpRetryEvents() == null ^ this.getTcpRetryEvents() == null)
            return false;
        if (other.getTcpRetryEvents() != null && other.getTcpRetryEvents().equals(this.getTcpRetryEvents()) == 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-appmesh/src/main/java/com/amazonaws/services/appmesh/model/HttpRetryPolicy.java