public void setData(String data) {
        this.data = data;
    }
<p>
The message content that's passed to an AWS Lambda function or to a web hook.
</p>

@param data
       The message content that's passed to an AWS Lambda function or to a web hook.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/JourneyCustomMessage.java