public abstract static class Event.Builder<T extends Event.Builder<T>>
extends java.lang.Object
| 构造器和说明 |
|---|
Builder() |
protected abstract T self()
public T customContext(java.util.List<SelfDescribingJson> context)
context - the list of contextspublic T timestamp(long timestamp)
timestamp - the event timestamp as
unix epochpublic T eventId(java.lang.String eventId)
eventId - the eventIdpublic Event build()