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