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)
Required.
|
Structured |
build() |
T |
category(java.lang.String category)
Required.
|
T |
label(java.lang.String label)
Optional.
|
T |
property(java.lang.String property)
Optional.
|
T |
value(java.lang.Double value)
Optional.
|
customContext, self, subject, trueTimestamppublic T category(java.lang.String category)
category - Category of the eventpublic T action(java.lang.String action)
action - Describes what happened in the eventpublic T label(java.lang.String label)
label - Refers 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()