public GCMMessage withData(java.util.Map<String, String> data) {
        setData(data);
        return this;
    }
<p>
The JSON data payload to use for the push notification, if the notification is a silent push notification. This
payload is added to the data.pinpoint.jsonBody object of the notification.
</p>

@param data
       The JSON data payload to use for the push notification, if the notification is a silent push notification.
       This payload is added to the data.pinpoint.jsonBody object of the notification.
@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/GCMMessage.java