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

        if (obj instanceof MacAttributes == false)
            return false;
        MacAttributes other = (MacAttributes) obj;
        if (other.getAlgorithm() == null ^ this.getAlgorithm() == null)
            return false;
        if (other.getAlgorithm() != null && other.getAlgorithm().equals(this.getAlgorithm()) == false)
            return false;
        if (other.getEmvMac() == null ^ this.getEmvMac() == null)
            return false;
        if (other.getEmvMac() != null && other.getEmvMac().equals(this.getEmvMac()) == false)
            return false;
        if (other.getDukptIso9797Algorithm1() == null ^ this.getDukptIso9797Algorithm1() == null)
            return false;
        if (other.getDukptIso9797Algorithm1() != null && other.getDukptIso9797Algorithm1().equals(this.getDukptIso9797Algorithm1()) == false)
            return false;
        if (other.getDukptIso9797Algorithm3() == null ^ this.getDukptIso9797Algorithm3() == null)
            return false;
        if (other.getDukptIso9797Algorithm3() != null && other.getDukptIso9797Algorithm3().equals(this.getDukptIso9797Algorithm3()) == false)
            return false;
        if (other.getDukptCmac() == null ^ this.getDukptCmac() == null)
            return false;
        if (other.getDukptCmac() != null && other.getDukptCmac().equals(this.getDukptCmac()) == 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-paymentcryptographydata/src/main/java/com/amazonaws/services/paymentcryptographydata/model/MacAttributes.java