public abstract static class SelfDescribing.Builder<T extends SelfDescribing.Builder<T>> extends AbstractEvent.Builder<T>
trueTimestamp
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SelfDescribing |
build() |
T |
eventData(SelfDescribingJson selfDescribingJson)
Required.
|
customContext, self, subject, trueTimestamp
public T eventData(SelfDescribingJson selfDescribingJson)
selfDescribingJson
- The properties of the event. Has two fields: "data", containing the event properties,
and "schema", identifying the schema against which the data is validatedpublic SelfDescribing build()