public Message withTimestamp(TimestampValue timestamp) {
        setTimestamp(timestamp);
        return this;
    }
<p>
The timestamp associated with the message.
</p>

@param timestamp
       The timestamp associated with the message.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ioteventsdata/src/main/java/com/amazonaws/services/ioteventsdata/model/Message.java