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