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

        if (obj instanceof ImportKeyCryptogram == false)
            return false;
        ImportKeyCryptogram other = (ImportKeyCryptogram) obj;
        if (other.getKeyAttributes() == null ^ this.getKeyAttributes() == null)
            return false;
        if (other.getKeyAttributes() != null && other.getKeyAttributes().equals(this.getKeyAttributes()) == false)
            return false;
        if (other.getExportable() == null ^ this.getExportable() == null)
            return false;
        if (other.getExportable() != null && other.getExportable().equals(this.getExportable()) == false)
            return false;
        if (other.getWrappedKeyCryptogram() == null ^ this.getWrappedKeyCryptogram() == null)
            return false;
        if (other.getWrappedKeyCryptogram() != null && other.getWrappedKeyCryptogram().equals(this.getWrappedKeyCryptogram()) == false)
            return false;
        if (other.getImportToken() == null ^ this.getImportToken() == null)
            return false;
        if (other.getImportToken() != null && other.getImportToken().equals(this.getImportToken()) == false)
            return false;
        if (other.getWrappingSpec() == null ^ this.getWrappingSpec() == null)
            return false;
        if (other.getWrappingSpec() != null && other.getWrappingSpec().equals(this.getWrappingSpec()) == 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-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/ImportKeyCryptogram.java