public SendUsersMessageRequest withContext(java.util.Map<String, String> context) {
        setContext(context);
        return this;
    }
<p>
A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the
data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in
the events that it generates for users-messages deliveries.
</p>

@param context
       A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to
       the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these
       attributes in the events that it generates for users-messages deliveries.
@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/SendUsersMessageRequest.java