Package dev.getelements.elements.sdk
Class Event.Builder
java.lang.Object
dev.getelements.elements.sdk.Event.Builder
- Enclosing interface:
Event
Utility class to build
Event instances.-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
from
Copies the data from an existingEventinto the builder.- Parameters:
event- the event to copy- Returns:
- this instance
-
named
Specifies theEventname.- Parameters:
name- the name of the event- Returns:
- this instance
-
argument
Appends an argument to theEvent.- Parameters:
argument- the argument to append- Returns:
- this instance
-
build
Builds theEvent.- Returns:
- the
Event
-