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