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

        if (obj instanceof RouteSpec == false)
            return false;
        RouteSpec other = (RouteSpec) obj;
        if (other.getGrpcRoute() == null ^ this.getGrpcRoute() == null)
            return false;
        if (other.getGrpcRoute() != null && other.getGrpcRoute().equals(this.getGrpcRoute()) == false)
            return false;
        if (other.getHttp2Route() == null ^ this.getHttp2Route() == null)
            return false;
        if (other.getHttp2Route() != null && other.getHttp2Route().equals(this.getHttp2Route()) == false)
            return false;
        if (other.getHttpRoute() == null ^ this.getHttpRoute() == null)
            return false;
        if (other.getHttpRoute() != null && other.getHttpRoute().equals(this.getHttpRoute()) == false)
            return false;
        if (other.getPriority() == null ^ this.getPriority() == null)
            return false;
        if (other.getPriority() != null && other.getPriority().equals(this.getPriority()) == false)
            return false;
        if (other.getTcpRoute() == null ^ this.getTcpRoute() == null)
            return false;
        if (other.getTcpRoute() != null && other.getTcpRoute().equals(this.getTcpRoute()) == 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/RouteSpec.java