Package com.segment.analytics.messages
Class PageMessage.Builder
java.lang.Object
com.segment.analytics.messages.MessageBuilder<PageMessage,PageMessage.Builder>
com.segment.analytics.messages.PageMessage.Builder
- Enclosing class:
- PageMessage
public static class PageMessage.Builder extends MessageBuilder<PageMessage,PageMessage.Builder>
Fluent API for creating
PageMessage
instances.-
Method Summary
Modifier and Type Method Description PageMessage.Builder
properties(Map<String,?> properties)
Set a map of information that describe the page.protected PageMessage
realBuild(Message.Type type, String messageId, Date timestamp, Map<String,?> context, String anonymousId, String userId, Map<String,Object> integrations)
Methods inherited from class com.segment.analytics.messages.MessageBuilder
anonymousId, anonymousId, build, context, enableIntegration, integrationOptions, messageId, messageId, timestamp, type, userId
-
Method Details
-
properties
Set a map of information that describe the page. These can be anything you want.- See Also:
- Properties
-
realBuild
protected PageMessage realBuild(Message.Type type, String messageId, Date timestamp, Map<String,?> context, String anonymousId, String userId, Map<String,Object> integrations)- Specified by:
realBuild
in classMessageBuilder<PageMessage,PageMessage.Builder>
-