@Override
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof RedisCredentials)) return false;
        final RedisCredentials other = (RedisCredentials) o;

        return this.getAddress().equals(other.getAddress()) &&
                this.getPort() == other.getPort() &&
                this.getPassword().equals(other.getPassword());
    }
Represents the credentials for a remote redis instance.
helper-redis/src/main/java/me/lucko/helper/redis/RedisCredentials.java