@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getKeyIdentifier() != null)
            sb.append("KeyIdentifier: ").append(getKeyIdentifier()).append(",");
        if (getMessageData() != null)
            sb.append("MessageData: ").append("***Sensitive Data Redacted***").append(",");
        if (getGenerationAttributes() != null)
            sb.append("GenerationAttributes: ").append(getGenerationAttributes()).append(",");
        if (getMacLength() != null)
            sb.append("MacLength: ").append(getMacLength());
        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/GenerateMacRequest.java