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

        if (obj instanceof CardGenerationAttributes == false)
            return false;
        CardGenerationAttributes other = (CardGenerationAttributes) obj;
        if (other.getAmexCardSecurityCodeVersion1() == null ^ this.getAmexCardSecurityCodeVersion1() == null)
            return false;
        if (other.getAmexCardSecurityCodeVersion1() != null && other.getAmexCardSecurityCodeVersion1().equals(this.getAmexCardSecurityCodeVersion1()) == false)
            return false;
        if (other.getAmexCardSecurityCodeVersion2() == null ^ this.getAmexCardSecurityCodeVersion2() == null)
            return false;
        if (other.getAmexCardSecurityCodeVersion2() != null && other.getAmexCardSecurityCodeVersion2().equals(this.getAmexCardSecurityCodeVersion2()) == false)
            return false;
        if (other.getCardVerificationValue1() == null ^ this.getCardVerificationValue1() == null)
            return false;
        if (other.getCardVerificationValue1() != null && other.getCardVerificationValue1().equals(this.getCardVerificationValue1()) == false)
            return false;
        if (other.getCardVerificationValue2() == null ^ this.getCardVerificationValue2() == null)
            return false;
        if (other.getCardVerificationValue2() != null && other.getCardVerificationValue2().equals(this.getCardVerificationValue2()) == false)
            return false;
        if (other.getCardHolderVerificationValue() == null ^ this.getCardHolderVerificationValue() == null)
            return false;
        if (other.getCardHolderVerificationValue() != null && other.getCardHolderVerificationValue().equals(this.getCardHolderVerificationValue()) == false)
            return false;
        if (other.getDynamicCardVerificationCode() == null ^ this.getDynamicCardVerificationCode() == null)
            return false;
        if (other.getDynamicCardVerificationCode() != null && other.getDynamicCardVerificationCode().equals(this.getDynamicCardVerificationCode()) == false)
            return false;
        if (other.getDynamicCardVerificationValue() == null ^ this.getDynamicCardVerificationValue() == null)
            return false;
        if (other.getDynamicCardVerificationValue() != null && other.getDynamicCardVerificationValue().equals(this.getDynamicCardVerificationValue()) == 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/CardGenerationAttributes.java