Class UpdateGenerationEvent.Builder
java.lang.Object
com.ants.platform.client.resources.ingestion.types.UpdateGenerationEvent.Builder
- All Implemented Interfaces:
UpdateGenerationEvent._FinalStage, UpdateGenerationEvent.BodyStage, UpdateGenerationEvent.IdStage, UpdateGenerationEvent.TimestampStage
- Enclosing class:
UpdateGenerationEvent
public static final class UpdateGenerationEvent.Builder
extends Object
implements UpdateGenerationEvent.IdStage, UpdateGenerationEvent.TimestampStage, UpdateGenerationEvent.BodyStage, UpdateGenerationEvent._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionbody(UpdateGenerationBody body) build()from(UpdateGenerationEvent other) UUID v4 that identifies the eventOptional.Datetime (ISO 8601) of event creation in client.
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateGenerationEvent.IdStage
-
id
UUID v4 that identifies the event
- Specified by:
idin interfaceUpdateGenerationEvent.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 interfaceUpdateGenerationEvent.TimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceUpdateGenerationEvent.BodyStage
-
metadata
Optional. Metadata field used by the ANTS Platform SDKs for debugging.
- Specified by:
metadatain interfaceUpdateGenerationEvent._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
metadata
- Specified by:
metadatain interfaceUpdateGenerationEvent._FinalStage
-
build
- Specified by:
buildin interfaceUpdateGenerationEvent._FinalStage
-