public abstract static class Structured.Builder<T extends Structured.Builder<T>> extends AbstractEvent.Builder<T>
trueTimestamp| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
action(java.lang.String action) |
Structured |
build() |
T |
category(java.lang.String category) |
T |
label(java.lang.String label) |
T |
property(java.lang.String property) |
T |
value(java.lang.Double value) |
customContext, deviceCreatedTimestamp, eventId, self, subject, timestamp, trueTimestamppublic T category(java.lang.String category)
category - Category of the eventpublic T action(java.lang.String action)
action - The event itselfpublic T label(java.lang.String label)
label - Refer to the object the action is performed onpublic T property(java.lang.String property)
property - Property associated with either the action or the objectpublic T value(java.lang.Double value)
value - A value associated with the user actionpublic Structured build()