@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAmexCardSecurityCodeVersion1() != null)
            sb.append("AmexCardSecurityCodeVersion1: ").append(getAmexCardSecurityCodeVersion1()).append(",");
        if (getAmexCardSecurityCodeVersion2() != null)
            sb.append("AmexCardSecurityCodeVersion2: ").append(getAmexCardSecurityCodeVersion2()).append(",");
        if (getCardVerificationValue1() != null)
            sb.append("CardVerificationValue1: ").append(getCardVerificationValue1()).append(",");
        if (getCardVerificationValue2() != null)
            sb.append("CardVerificationValue2: ").append(getCardVerificationValue2()).append(",");
        if (getCardHolderVerificationValue() != null)
            sb.append("CardHolderVerificationValue: ").append(getCardHolderVerificationValue()).append(",");
        if (getDynamicCardVerificationCode() != null)
            sb.append("DynamicCardVerificationCode: ").append(getDynamicCardVerificationCode()).append(",");
        if (getDynamicCardVerificationValue() != null)
            sb.append("DynamicCardVerificationValue: ").append(getDynamicCardVerificationValue());
        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/CardGenerationAttributes.java