@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAlgorithm() != null)
            sb.append("Algorithm: ").append(getAlgorithm()).append(",");
        if (getEmvMac() != null)
            sb.append("EmvMac: ").append(getEmvMac()).append(",");
        if (getDukptIso9797Algorithm1() != null)
            sb.append("DukptIso9797Algorithm1: ").append(getDukptIso9797Algorithm1()).append(",");
        if (getDukptIso9797Algorithm3() != null)
            sb.append("DukptIso9797Algorithm3: ").append(getDukptIso9797Algorithm3()).append(",");
        if (getDukptCmac() != null)
            sb.append("DukptCmac: ").append(getDukptCmac());
        sb.append("}");
        return sb.toString();
    }
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