public SimpleEmailPart withData(String data) {
        setData(data);
        return this;
    }
<p>
The textual data of the message content.
</p>

@param data
       The textual data of the message content.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/SimpleEmailPart.java