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

        if (obj instanceof ImportKeyMaterial == false)
            return false;
        ImportKeyMaterial other = (ImportKeyMaterial) obj;
        if (other.getRootCertificatePublicKey() == null ^ this.getRootCertificatePublicKey() == null)
            return false;
        if (other.getRootCertificatePublicKey() != null && other.getRootCertificatePublicKey().equals(this.getRootCertificatePublicKey()) == false)
            return false;
        if (other.getTrustedCertificatePublicKey() == null ^ this.getTrustedCertificatePublicKey() == null)
            return false;
        if (other.getTrustedCertificatePublicKey() != null && other.getTrustedCertificatePublicKey().equals(this.getTrustedCertificatePublicKey()) == false)
            return false;
        if (other.getTr31KeyBlock() == null ^ this.getTr31KeyBlock() == null)
            return false;
        if (other.getTr31KeyBlock() != null && other.getTr31KeyBlock().equals(this.getTr31KeyBlock()) == false)
            return false;
        if (other.getTr34KeyBlock() == null ^ this.getTr34KeyBlock() == null)
            return false;
        if (other.getTr34KeyBlock() != null && other.getTr34KeyBlock().equals(this.getTr34KeyBlock()) == false)
            return false;
        if (other.getKeyCryptogram() == null ^ this.getKeyCryptogram() == null)
            return false;
        if (other.getKeyCryptogram() != null && other.getKeyCryptogram().equals(this.getKeyCryptogram()) == 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/ImportKeyMaterial.java