Class ScoreEvent.Builder
java.lang.Object
com.ants.platform.client.resources.ingestion.types.ScoreEvent.Builder
- All Implemented Interfaces:
ScoreEvent._FinalStage, ScoreEvent.BodyStage, ScoreEvent.IdStage, ScoreEvent.TimestampStage
- Enclosing class:
ScoreEvent
public static final class ScoreEvent.Builder
extends Object
implements ScoreEvent.IdStage, ScoreEvent.TimestampStage, ScoreEvent.BodyStage, ScoreEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbuild()from(ScoreEvent other) UUID v4 that identifies the eventOptional.Datetime (ISO 8601) of event creation in client.
-
Method Details
-
from
- Specified by:
fromin interfaceScoreEvent.IdStage
-
id
UUID v4 that identifies the event
- Specified by:
idin interfaceScoreEvent.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
timestamp
Datetime (ISO 8601) of event creation in client. Should be as close to actual event creation in client as possible, this timestamp will be used for ordering of events in future release. Resolution: milliseconds (required), microseconds (optimal).
- Specified by:
timestampin interfaceScoreEvent.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceScoreEvent.BodyStage
-
metadata
Optional. Metadata field used by the ANTS Platform SDKs for debugging.
- Specified by:
metadatain interfaceScoreEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceScoreEvent._FinalStage
-
build
- Specified by:
buildin interfaceScoreEvent._FinalStage
-