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

        if (obj instanceof Credentials == false)
            return false;
        Credentials other = (Credentials) obj;
        if (other.getAccessToken() == null ^ this.getAccessToken() == null)
            return false;
        if (other.getAccessToken() != null && other.getAccessToken().equals(this.getAccessToken()) == false)
            return false;
        if (other.getAccessTokenExpiration() == null ^ this.getAccessTokenExpiration() == null)
            return false;
        if (other.getAccessTokenExpiration() != null && other.getAccessTokenExpiration().equals(this.getAccessTokenExpiration()) == false)
            return false;
        if (other.getRefreshToken() == null ^ this.getRefreshToken() == null)
            return false;
        if (other.getRefreshToken() != null && other.getRefreshToken().equals(this.getRefreshToken()) == false)
            return false;
        if (other.getRefreshTokenExpiration() == null ^ this.getRefreshTokenExpiration() == null)
            return false;
        if (other.getRefreshTokenExpiration() != null && other.getRefreshTokenExpiration().equals(this.getRefreshTokenExpiration()) == 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-connect/src/main/java/com/amazonaws/services/connect/model/Credentials.java